--- Asrarahmed Kadri <[EMAIL PROTECTED]> wrote:

> I got that point, what I want is how the dimensions of the
> canvas would be
> adjusted so as to incorporate this Y-axis variable length?
> 

You provide the size of the canvas when you create 
it normally. But you can use at least 2 approaches.

1) Given the fixed size of your canvas you can 
scale the graphs to fit - keeping track oof the 
longest X and Y measures and scaling against the corresponding
size of the canvas.

or

2) Scale the canvas to match the graphs.
If the canvas gets bigger than a certain size
(maybe related to screen size?) youi can add 
scroll bars.

HTH,

Alan G.


                
___________________________________________________________ 
All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to