MATLAB POLYSPACE RELEASE NOTES Manual de usuario Pagina 90

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 239 240

Comentarios a estos manuales

Sin comentarios