MATLAB POLYSPACE RELEASE NOTES Manuel d'utilisateur Page 110

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 239 240

Commentaires sur ces manuels

Pas de commentaire