Dear Fellows,(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Multiplot in matlab

**Physics Forums | Science Articles, Homework Help, Discussion**