Hello all,
First of all, I would like to thank all of the sage developers. Sage
has been a very useful tool for both graduate work and teaching.
I have a question about plotting. The plot function allows for a list
of functions as an argument, is there any way that I could specify
the plot colors for each of the curves. For example, when I would
want to talk about graph transformations in lecture I would like to
show the original graph in blue and a scaled graph in red.
I know about using the + operator with graphs and use that when I am
constructing graphs for myself but when I am in class I think my
students get distracted when there is too much code on the screen.
What I am thinking about is something like
sage: f(x) = x^2
sage: g(x) = (x-5)^2
sage: plot( [f,g], (x,-10,10), rgbcolor= [ (0,0,1) , (1,0,0) ] )
(but I know that this doesn't work.
Am I missing something obvious?
--
David Monarres
[EMAIL PROTECTED]
Nothing takes the taste out of peanut butter quite like unrequited love.
-- Charlie Brown
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---