- #1
adnan jahan
- 96
- 0
Dear Fellows,
I need to plot a graph in matlab, and stuck in obtaining multi plot from it for different constant values... following example will explain my situation.
x=1;
y=3;
c=x^2+4y+9z
z=linspace(0,1.2);
plot(z,c,'r')
in this I want to plot for y=3,y=4,y=5 and y=0 all curves in one graph.
I need to plot a graph in matlab, and stuck in obtaining multi plot from it for different constant values... following example will explain my situation.
x=1;
y=3;
c=x^2+4y+9z
z=linspace(0,1.2);
plot(z,c,'r')
in this I want to plot for y=3,y=4,y=5 and y=0 all curves in one graph.