how to erase a plot in appdesigner

1 回表示 (過去 30 日間)
Christian Iriarte
Christian Iriarte 2021 年 5 月 2 日
編集済み: Reshma Nerella 2021 年 6 月 23 日
hi,
i'm trying to make a plot of 2 diferent datatypes (rawdata). When i read and plot one datatype there is no problem but when i change the type it seems that older data are saved and it looks like there is an addition in the plot of the old data and the selected one. does anyone know, how can i "reset" the space of the plot such that i can plot and change the datatype for my plots without this problem?
thanks!

回答 (1 件)

Reshma Nerella
Reshma Nerella 2021 年 6 月 17 日
編集済み: Reshma Nerella 2021 年 6 月 23 日
Hi,
While changing the datatype and plotting the corresponding data, you can clear the axes and plot so that the previous plot doesn't get displayed.
You can clear axes using cla function.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by