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

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

or
scatter(app.UIAxes, X, Y, 'filled')
ylim(app.UIAxes,[0 500]);
@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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

질문:

2024년 2월 5일

댓글:

2024년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by