how to make label y axis specific?

I want to make y axis as (0 500 1000) how to do it?
i use I use ylim([1 1000])

Antworten (1)

Sindar
Sindar am 25 Jun. 2020

0 Stimmen

% if you want a label at 0, make sure to include it in your limits
ylim([0 1000])
yticks([0 500 1000])

Gefragt:

am 21 Jun. 2020

Beantwortet:

am 25 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by