[sage-support] Re: Unrecognized linestyle

2013-03-27 Thread P Purkayastha
On 03/27/2013 05:21 PM, Tobias Weich wrote: I came across the same issue with arc in sage 5.8 | line([(0,1),(1,1)],linestyle=':') | works fine, however | arc((0,0),1,sector=(0,pi),linestyle=':') | raises the "unknown linestyle" error and linestyle='dotted' works for both. Is there a deeper r

[sage-support] Re: Unrecognized linestyle

2013-03-27 Thread Tobias Weich
I came across the same issue with arc in sage 5.8 line([(0,1),(1,1)],linestyle=':') works fine, however arc((0,0),1,sector=(0,pi),linestyle=':') raises the "unknown linestyle" error and linestyle='dotted' works for both. Is there a deeper reason why these matplotlib linestyle shorts do not wor

[sage-support] Re: Unrecognized linestyle

2009-08-03 Thread Rado
try using 'dashed' instead of '--'. Works for me. I have no idea why '--' works for plotting lines but not vectors (which are arrows) ... Rado On Aug 3, 3:46 pm, cesarnda wrote: > what is wrong with the following: > > sage: v1 = vector([1,2]) > sage: v2 = vector([2,1]) > sage: p1 = plot(v1, rg