26  Plotting and Graphics

octave description
plot plot3 2D / 3 D plot with linear axes
line 2D or 3D line
patch fill enter a 2x2 matrix
semilogx semilogy loglog logarithmic axes
bar hist create matrix of zeros / ones
stairs stem create identity / diagonal matrix
contour contour plot
figure 2D / 3 D plot with linear axes
hold on add to existing figure
title set plot title
axis set axis range and aspect
xlabel ylabel zlabel set axis labels
text add text to a plot
grid legend draw grid or legend
image imagesc spy display matrix as image
hold on save figure or image
imread load an image
colormap get or set colormap