縦軸のメモリ間隔を狭めたい
33 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/816794/image.png)
現在,上図のように,縦軸が1,2となっており,
ylim [ 0.5 2.5 ] yticks([1 2])
としています.
この縦軸のメモリである1 , 2 を保ちながら,
メモリ間隔を狭める方法があればご教示宜しくお願い致します.
0 Commenti
Risposta accettata
Atsushi Ueno
il 29 Nov 2021
ylimの範囲を変更すれば、この縦軸のメモリである1 , 2 を保ちながらメモリ間隔を狭める事が出来ます。
figure; plot(0,0); hold on;
for i=1:17
scatter(randi(20),randi(2),50,'b','filled');
end
ylim([-5 10]); % ylim([0.5 2.5]); より変更
yticks([1 2]);
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su グラフィックス オブジェクトのプロパティ in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!