MATLAB POLYSPACE RELEASE NOTES Uživatelský manuál Strana 67

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 240
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 66
Overview of MATLAB Plotting
Using Plotting Tools and MATLAB Code
You can enable the plotting tools for any g raph, even one created using
MATLAB commands. For example, suppose you type the following code
to create a graph:
t = 0:pi/20:2*pi;
y = exp(sin(t));
plotyy(t,y,t,y,'plot','stem')
xlabel('X Axis')
ylabel('Plot Y Axis')
title('Two Y Axes')
This graph contains two y-axes, one for each plot type (a lineseries and a
stemseries). The plo tting tools make it easy to sele ct any of the objects that
the graph contains and modify their properties.
3-11
Zobrazit stránku 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 239 240

Komentáře k této Příručce

Žádné komentáře