Clear Filters
Clear Filters

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

7 views (last 30 days)
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

Answers (1)

Voss
Voss on 5 Feb 2024
scatter(app.UIAxes, X, Y, 'filled')
app.UIAxes.YLim = [0 500];
  2 Comments
Muazma Ali
Muazma Ali on 6 Feb 2024
@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

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!