Subject: plot2d with different parameter range for eqs
From: Jaime Villate
Date: Tue, 15 Dec 2009 23:05:16 +0000
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