MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 110

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag