Programming and Graphics

(Kiana) #1

F.8Matlabgraphics 357


Two-dimensional graphs

bar Bar graph
comet Animated comet plot
compass Compass plot
errorbar Error bar plot
feather Feather plot
fplot Plot a function
fill Draw filled two-dimensional polygons
hist Histogram plot
loglog Log-log scale plot
plot Linear plot
polar Polar coordinate plot
rose Angle histogram plot
semilogx Semi-log scale plot,x-axis logarithmic
semilogy Semi-log scale plot,y-axis logarithmic
stairs Stair-step plot
stem Stem plot for discrete sequence data

Graph annotationand operations

grid Grid lines
gtext Mouse placement of text
legend Add legend to plot
text Text annotation
title Graph title
xlabel x-axis label
ylabel y-axis label
zoom Zoom in and out of a two-dimensional plot

Line and fill commands

fill3 Draw filled three-dimensional polygons
plot3 Plot lines and points

Two-dimensional graphsof three-dimensional data

clabel Contour plot elevation labels
comet3 Animated comet plot
contour Contour plot
contour3 Three-dimensional contour plot

Table F.8.1Elementary and specializedMatlabgraphics functions and proce-
dures. Continued on next page.

Free download pdf