Plotting 2D graphs - English

5666 visits


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 Using clf() clear the graphic window. Configure the title for the plot Configure a legend Divide a graphic window into a matrix of sub-windows using subplot(mnp)