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

  • 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 130
Handle Graphics
set(h,'Color','red')
You can also specify properties when you call the plotting function:
h = plot(x,y,'Color', 'red');
When y ou query the lineserie s properties,
get(h,'LineWid
th')
MATLAB returns t
he answer:
ans =
0.5000
Use the handle to see what properties a particular object contains:
get(h)
Graphics Objects
Graphics objects are the basic elements used to display graphs and user
interface components. These objects are organized into a hierarchy, as shown
by the following diagram.
Key Graphics Objects
When you call a function to create a graph, MATLAB creates a hierarchy of
graphics objects. For example, calling the
plot function creates the following
graphics objects:
Lineseries plot objects Represent the data passed to the
plot function.
3-75
Zobrazit stránku 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 239 240

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

Žádné komentáře