フィルターのクリア

Plotting Graph using data stored in Properties (app.property) in App Designer

1 回表示 (過去 30 日間)
Ratanjot
Ratanjot 2023 年 2 月 6 日
コメント済み: Voss 2023 年 2 月 6 日
I am trying to run this app where it outputs two plots in the same graph. I have stored x,y, and z as data in the private property and called it in the callback function when pressing the button to plot. I know I can just have all the steps into one function and there is no need for a property but it is important that I store all the data x,y, and z in property for the project I am working on. The error I get when running the code is 'Warning: Ignoring extra legend entries.' Is there any way to fix this issue. I am able to read the title and axis labels on the plot but then I get this error and it wont plot the actual graph.

採用された回答

Voss
Voss 2023 年 2 月 6 日
In Button2Pushed, x, y, and z should be app.x, app.y, app.z.
  2 件のコメント
Ratanjot
Ratanjot 2023 年 2 月 6 日
Thank you very much. That works.
Voss
Voss 2023 年 2 月 6 日
You're welcome! Any questions, let me know. Otherwise, please "Accept This Answer". Thanks!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by