how to accomplish the adddata function in plottools ?

 採用された回答

Mischa Kim
Mischa Kim 2014 年 1 月 20 日
編集済み: Mischa Kim 2014 年 1 月 20 日

0 投票

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 件のコメント

Roger
Roger 2014 年 1 月 20 日
the problem is the variables i want to use imported from my GUI,they r invisiable and not in the workspace,so how to handle it?
Mischa Kim
Mischa Kim 2014 年 1 月 20 日
編集済み: Mischa Kim 2014 年 1 月 20 日
Use the guidata function. Check out the documentation .
Alternatively, write the data to the workspace, and take it from there.
Roger
Roger 2014 年 1 月 20 日
right,thanks very much

サインインしてコメントする。

その他の回答 (1 件)

Amit
Amit 2014 年 1 月 20 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

質問済み:

2014 年 1 月 20 日

編集済み:

2014 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by