Plotting 2D graphs - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

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