plot values from Numeric Edit Field into UIAxes tool

2 ビュー (過去 30 日間)
Mauricio Bassallo
Mauricio Bassallo 2021 年 8 月 2 日
コメント済み: Mauricio Bassallo 2021 年 8 月 3 日
Hi everybody,
I want to generate a p-h Diagram using UIAxes tool in app Designer. For that end, I want to take the values from the Numeric Edit Fields tool (which are displaying the enthalpy and pressure during the simulation) and plot them with UIAxes during the suímulation.
However, I am having problems to generate the code in 'Code View' in my app.
Can anyone give me some help with that?
Thanks in advance!!
Mauricio
  6 件のコメント
Mauricio Bassallo
Mauricio Bassallo 2021 年 8 月 3 日
Hi Cris,
At the end I could get the points in the dashboard plot. I just need to put the code in the correct callback ('UIAxesButtonDown') and then it works (see the attached figure).
However, something that I noted is that to update the plot in the dashboard, I have to make double click in the plot, otherwise it does not update by itself while the simulation is running. Do you know what could be happening?
Also, I want to put a line which connects the points in the plot during the simulation. Do you know how to do that in my code?
Regards,
Mauricio Bassallo
Mauricio Bassallo 2021 年 8 月 3 日
I could solve the issue related with the line connecting the points in the plot.
However, the problem with the plot updating in the dashboard still there.
Regards,

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDashboard についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by