Hi all, I'm teaching linear algebra next semester and plan to use Sage. In trying the "obvious" way to plot a vector:
sage: v=vector([1,2]) sage: v.plot().show() I get what looks like a step function of the coordinates. Instead, I have to do: sage: v=vector([1,2]) sage: arrow((0,0),v).show() which doesn't seem quite so natural to an undergraduate linear algebra student. First, is there an easier way to plot a vector (yes, I know I don't have to define v above and could just give the coordinates to arrow, but usually I'll be doing something with v as a vector)? Is it reasonable to redefine v.plot() to return the arrow for a vector with 3 or fewer dimensions, or is there some bigger reason to have things the way they are now? 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/ -~----------~----~----~----~------~----~------~--~---