|
|
Plotting 2D-Title, Labeling, Legends, ValuesHow can title, and labels be added?figure(1) x=0:0.1:(4*pi); y=sin(x); plot(x, y) title ('This is where title goes') xlabel('time in whatever') ylabel('value in whatever') % CHANING THE AXIS axis([xmin, xmax, ymin, ymax]) axis([0, 14, -2, 2]) How can legend be added? Go to the menu -> insert -> legend. Change it manually. How to specify values on the graph? >>ginput(1) % gives one values >>ginput(2) % gives two values You can add the exact values by copy, and then inserting text.
|