Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Plotting 2D graphs - English

This is a sample video. To access the full content,
please Login

30535 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 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)