フィルターのクリア

Plot clear using MATLAB app designer.

91 ビュー (過去 30 日間)
Othman Alkandri
Othman Alkandri 2023 年 1 月 20 日
コメント済み: Othman Alkandri 2023 年 1 月 20 日
Hello,
I am trying to clear the UIAxies using a push button. Once the user clicks the button, it should remove the axis limitations and labels. I used the following command.
function plotclearButtonPushed(app, event)
cla(app.UIAxes)
end
The clear button erases the plot. However, it doesn't reset the UIAxes by removing the legend and the axis limation. Is there a better command to use?

採用された回答

Voss
Voss 2023 年 1 月 20 日
  1 件のコメント
Othman Alkandri
Othman Alkandri 2023 年 1 月 20 日
Thank you

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by