I'm trying to plot a couple of vectors (using arrows) and their
projections on the x- and y- axes (using lines):

a1=arrow((0,0),(3,1),rgbcolor=(0,1,1))
a2=arrow((0,0),(-3.5,2.5),rgbcolor=(0,0,1))
l1=line([(0,0),(-3.5,0)],rgbcolor=(1,0,0))
l2=line([(0,0),(0,2.5)],rgbcolor=(0,1,0))
p=point((3,1),rgbcolor=(0,0,1),pointsize=30)
show(a1+a2+l1+l2+p)

The arrows went fine but the lines didn't show up. Curiously:
a) if I use arrows instead, they do show up.
b) if I plot a line somewhere else, like line([(0,-1),
(-3.5,0)],rgbcolor=(1,0,0)), it works!!!!

I'm running Sage Version 3.2, Release Date: 2008-11-20 in case it
helps.

Thanks in advance for any help

   - Louie -
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to