MATLAB POLYSPACE RELEASE NOTES Manual do Utilizador Página 90

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 240
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 89
3 Graphics
Providing New Values for the Data Source
MATLAB copies the data that defines the graph from variables in the base
workspace (for e xample,
x and y)totheXData and YData properties of the
plot object (for example, a lineseries). Therefore, in addition to being able to
choose new data sources, you can assign new values to workspace variables
in the Command Window and click the Refresh Data button to update a
graph to use the new data.
x = linspace(-pi,pi,5 0); % Define 50 points between -π and π
y = sin(x);
area(x,y) % Make an area plot of x and y
3-34
Vista de página 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 239 240

Comentários a estes Manuais

Sem comentários