MATLAB POLYSPACE RELEASE NOTES Manuale Utente Pagina 116

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 115
3 Graphics
You can produce mathematical symbols using LaTeX notation in the text
string, as the following example illustrates:
t = -pi:pi/100:pi;
y = sin(t);
plot(t,y)
axis([-pi pi -1 1])
xlabel('-\pi \leq {\itt} \leq \pi')
ylabel('sin(t)')
title('Graph of the sine function')
text(1,-1/3,'{\itNote the odd symmetry.}')
You can also set these options interactively. See “Editing Plots” on page 3-17
for m ore information.
Note that the location of the text string is defined in axes units (i.e., the
same units as the data). See the
annotation function for a way to place text
in normalized figure units.
3-60
Vedere la pagina 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 239 240

Commenti su questo manuale

Nessun commento