
Using Basic Plotting Functions
hold on
contour(x,y,z,20,'k')
hold off
The hold on command com bin es th e pcolor plot with the contour plot in
one figure.
For More Information See “Creating Specialized Plots” in the MATLAB
Graphics documentation for details about a variety of graph types.
Figure Windows
Graphing functions automatically open a new figure window if there are no
figure windows already on the screen. If a fig u re w indow e xists, MATLAB
uses that window for graphics output. If there are m ultiple figure windows
open, MATLAB targets the one that is designated the “current figure” (the
last figure used or clicked in).
3-55
Komentáře k této Příručce