MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 90

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag