On Wed, 13 Dec 2006 20:23:04 -0800, dz0 <[EMAIL PROTECTED]> wrote:
> > hello, > I want to make a Christmas tree with the idea of fractals, but > i get it not in the the right proportions.. > http://popmokslas.projektas.lt/failai/etc/math/sage0.png > http://popmokslas.projektas.lt/failai/etc/math/sage1.png > > I want xy scales to be 1:1 ratio (all branches then would be > recursively - symmetricaly layed out) > i found subplot in matplotlib docs, but I don't know how to call it > from sage.. > could anyone help.. thanks > > Thanks in advance > > ps.: first I thought theres an error in my code.. but then I double > checked it 7 times and noticed the scales :) The axis scaled are by default determined automatically, but you can change that. Here are two examples of plots whose axes are forced to be square: sage: show(plot(lambda x: x^2, 0, 5), xmin=0, xmax=5, ymin=0, ymax=5) sage: show(plot(lambda x: x^2, 0, 5), xmin=0, xmax=5, ymin=0, ymax=5, figsize=[2,2]) --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
