How to reduce the space between Yticks?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hari krishnan
am 6 Nov. 2018
Bearbeitet: madhan ravi
am 6 Nov. 2018
Hi, I am plotting a scatter plot with two groups on the Y axis. I want to reduce the distance between these groups in the plot as i only have two groups. Any help to solve this will be appreciated.
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 6 Nov. 2018
Bearbeitet: madhan ravi
am 6 Nov. 2018
ylim([0 2])
yticks([0 2])
or
set(gca,'YTick',0:0.5:2)
1 Kommentar
madhan ravi
am 6 Nov. 2018
Bearbeitet: madhan ravi
am 6 Nov. 2018
not sure what you want from the above? or try plotyy()
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!