MATLAB POLYSPACE RELEASE NOTES Manuel d'utilisateur Page 107

  • 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 106
Using Basic Plotting Functions
legend('sin(x)','sin(x-.25)','sin (x-.5)')
For More Information See “Defining the Color of Lines for Plotting” in the
MATLAB Graphics documentation.
Specifying Line Styles and Colors
It is possible to specify color, line styles, and markers (such as plus signs or
circles) when you plot your data using the
plot command:
plot(x,y,'color_style_marker')
color_style_marker
is a strin g con ta ining from one to four characters
(enclosed in single quotation marks) co ns tructed from a color, a line s tyle,
and a m arker type:
Color strings are
'c', 'm ', 'y', 'r', 'g', 'b', 'w',and'k'.These
correspond to cyan, magenta, yellow, red, green, blue, white, and black.
3-51
Vue de la page 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 239 240

Commentaires sur ces manuels

Pas de commentaire