how to accomplish the adddata function in plottools ?

1 visualizzazione (ultimi 30 giorni)
red line part

Risposta accettata

Mischa Kim
Mischa Kim il 20 Gen 2014
Modificato: Mischa Kim il 20 Gen 2014
Hello Roger, simply push the button. A window will open, asking you to choose X Data Source and Y Data Source. These need to be vectors already available in the workspace .
Does that answer your question?
  3 Commenti
Mischa Kim
Mischa Kim il 20 Gen 2014
Modificato: Mischa Kim il 20 Gen 2014
Use the guidata function. Check out the documentation .
Alternatively, write the data to the workspace, and take it from there.

Accedi per commentare.

Più risposte (1)

Amit
Amit il 20 Gen 2014
This is a two part question:
#1 How to get the data from GUI to workspace - Answered Here - https://www.mathworks.com/matlabcentral/answers/112990-about-plottools-for-add-data-function-the-variables-in-gui-is-not-visable
#2 How to Add Data (which is asked here) and Mischa answered it.

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by