If it's convenient, could someone review trac #1575 ?  I'm using it in 
my linear algebra and calc 3 classes and it'd be nice if the patch was 
in 2.10 so that students have access to it.

The patch makes plotting of vectors default to arrows if the dimension 
is <=3, default to step functions if the dimension is >3, and an option 
to do either in either case (via the "type" argument).  It also adds an 
option to plot the vector as a point at the tip of the vector.

EXAMPLES:
sage: v = vector(RDF, (1,2))
sage: plot(v, type='arrow').show()
sage: plot(v, type='point').show()
sage: plot(v, type='step').show() # calls v.plot_step()
sage: plot(v, type='step', eps=eps, xmax=5, hue=0).show()
sage: v = vector(RDF, (1,2,1))
sage: plot(v).show() # defaults to an arrow plot
sage: plot(v, type='arrow').show()
sage: plot(v, type='point').show()
sage: plot(v, type='step').show() # calls v.plot_step()
sage: plot(v, type='step', eps=eps, xmax=5, hue=0).show()
sage: v = vector(RDF, (1,2,3,4))
sage: plot(v).show() # defaults to a step plot


Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to