Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Muazma Ali
Muazma Ali le 5 Fév 2024
Commenté : Muazma Ali le 6 Fév 2024
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

Réponses (1)

Voss
Voss le 5 Fév 2024
scatter(app.UIAxes, X, Y, 'filled')
app.UIAxes.YLim = [0 500];
  2 commentaires
Voss
Voss le 5 Fév 2024
or
scatter(app.UIAxes, X, Y, 'filled')
ylim(app.UIAxes,[0 500]);
Muazma Ali
Muazma Ali le 6 Fév 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by