MATLAB POLYSPACE RELEASE NOTES Manual do Utilizador Página 131

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 240
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 239 240

Comentários a estes Manuais

Sem comentários