フィルターのクリア

how to set a range of a scatterplot in matlab app designer?

2 ビュー (過去 30 日間)
Muazma Ali
Muazma Ali 2024 年 2 月 5 日
コメント済み: Muazma Ali 2024 年 2 月 6 日
Hi! :)
I have the app visualiseringsapp , the attached one and I am wondering how I can get the range of y axis to go from 0 to 500 .
Thanks

回答 (1 件)

Voss
Voss 2024 年 2 月 5 日
scatter(app.UIAxes, X, Y, 'filled')
app.UIAxes.YLim = [0 500];
  2 件のコメント
Voss
Voss 2024 年 2 月 5 日
or
scatter(app.UIAxes, X, Y, 'filled')
ylim(app.UIAxes,[0 500]);
Muazma Ali
Muazma Ali 2024 年 2 月 6 日
@Voss but I also want the axis to increase with 50 meaning it goes from 0 to 50 then comes 100 then 150 and so on upto 500,
thanks

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by