Plotting 2D graphs - Telugu

1445 visits



Outline:

Plotting 2D graphs About linspace: linspace is a linearly spaced vector. Plot a simple graph: x=linspace(12,34,10), y=linspace(-.1,2,10), plot(x,y) plot2d(x,y,style=1), style can have different values, style=1 gives black coloured graph line, style=2 gives blue coloured graph line and so on Show that if one tries to plot another graph without closing the first one, the plot will appear over the first graph. This may or may not be desirable- one may want to plot the second g