On 11/28/11 12:37 PM, ObsessiveMathsFreak wrote:
Currently, the following does not work for multiple functions
sage: plot([r,r^2],(r,0,3),color=['red','blue'])
Traceback (click to the left of this block for traceback)
...
ValueError: color list or tuple '['red', 'blue']' must have 3 entries,
one for each RGB, HSV, HLS, or HSL channel
And trying
sage: plot([r,r^2],(r,0,3))
Gives two plots which are identical.
I feel that the first command should work or one similar to it should
be available. Is there such a command? Is there any way to have multi
coloured or multi-styled plots in a single command?
Not that I know of off the top of my head. Can you submit a patch?
In the second case, I feel that the plots should be distinguished by
colour or line style by default.
Sounds good. Can you submit a patch?
Jason
--
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
URL: http://www.sagemath.org