MATLAB POLYSPACE RELEASE NOTES Bedienungsanleitung Seite 110

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 240
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 109
3 Graphics
draws a 20-sided polygon with little circles at the vertices. The axis equal
command makes the individual tick-mark increments on the x-andy-axes the
same length, which makes this plot more circular in appearance.
Adding P
lots to an Existing Graph
The hold
command enables you to add plots to an existing graph. When
you type
hold on
MATLAB does not replace the existing graph when you issue another p lotting
command; it adds the new data to the current graph, rescaling the axes
if necessary.
For exam ple, these statements first create a contour plot of the
peaks
function, then superimpose a pseudocolor plot of the same function:
[x,y,z] = peaks;
pcolor(x,y,z)
shading interp
3-54
Seitenansicht 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 239 240

Kommentare zu diesen Handbüchern

Keine Kommentare