plot2d with different parameter range for eqs



El mar, 15-12-2009 a las 23:05 +0000, Jaime Villate escribi?:
> On Tue, 2009-12-15 at 22:30 +0100, Michael Anderl wrote:
> > is there a way to plot equations in different parameter range on the
> > same plot.
> > plot2d( [sin(u), cos(v)],
> > [u,0,2], [v,2,4]
> > )$ 
> No, there isn't, but I'm working on it. I have already implemented it
> for plot3d. For instance:
> 
> plot3d ([[2^(-x^2 + y^2),[x,-2,2],[y,-2,2]], 4*sin(3*(x^2+y^2))/(x^2
> +y^2), [x, -3, 3], [y, -2, 2]]);
> 
> this currently works only in the CVS branch (not in the 5.20 release)
> and the names of the variables for the two plots must be the same. Next
> I will work on a similar extension for plot2d.
> 
> Perhaps the additional package draw already allows you to do it; I don't
> know.
> Regards,
> Jaime



load(draw)$

draw2d(
 explicit(sin(u),u,0,2),
 explicit(cos(v),v,2,4) ) $


-- 
Mario