Question: plotting multiple two variable expression(s) in a 2D plot?

I am trying to plot a two variable expression in single 2D plot but have been unsuccessful.

I already have an equation in two variables that is obtained through a lengthy process of calculations:

DEQ = A*D + B*Ne, where A and B are constants, and D and Ne are variables.

I can easily plot a 3D graph of this, but I'd also like to plot what are essentially slices of the 3D graph onto a 2D graph. Actually to plot several slices on a single 2D graph.

I have tried to do the following but have been unsuccessful:

1.) I tried to define a new variable and plot that new variable:

DEQ_new:=(D,Ne)->DEQ;

plot([DEQ_new(1,Ne),DEQ_new(2,Ne)],Ne=0..2000);

This was meant to plot the function DEQ at two fixed values of D, namely '1' and '2', for the range of Ne [0,2000] on a single plot, but it didn't work. Actually it gave me a blank plot.

2.) I tried to use the crosssection command, with the following code, simply to plot a 2D slice of the two variable equation but it did not work. It didn't plot anything.

CrossSection(DEQ,D=1,Ne=0..2000);

---

Any ideas on how I can perform this task?

Thanks.

Please Wait...