[sage-support] Re: using parametric_plot for more than one function

2008-05-29 Thread andrew . sundstrom
Thank you. I just discovered that, while semantically imprecise, Piecewise() affords the versatility to do this too -- it may, in fact, implicitly do what you explained. sage: f1 = lambda x:1 sage: f2 = lambda x:1-x sage: f3 = lambda x:exp(x) sage: f4 = lambda x:s

[sage-support] Re: using parametric_plot for more than one function

2008-05-29 Thread Mike Hansen
Hi Andrew, You can do this by saving the plots to an object and then adding them together. sage: t = var('t') sage: p1 = parametric_plot( (s), sin(2*t)), 0, 2*pi, rgbcolor=hue(0.6) ) sage: p2 = parametric_plot( (cos(t), cos(3*t)), 0, 2*pi, rgbcolor=hue(0.3) ) sage: (p1+p2).show() One can do thi