On Nov 28, 2:46 pm, Jason Grout <[email protected]> wrote:
> 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?

See http://trac.sagemath.org/sage_trac/ticket/8164 for the relevant
ticket.

> > 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?

I respectfully disagree, but it's looking like the consensus will be
in your corner (and arguing about it is bikeshedding), so definitely
zoom to #8164 and submit something if you've got it!

-- 
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

Reply via email to