How to set ytick in yyaxis?

6 次查看(过去 30 天)
Leon
Leon 2017-12-16
评论: Leon 2017-12-18
Below is my code. How do I set the ytick on yyaxis left?
yyaxis left
plot(T, PH, 'bo', 'markersize', 3);
% ytick([7.7:0.2:8.7]);
ylim([7.7 8.7]);

采纳的回答

dpb
dpb 2017-12-16
Almost--the function name is plural, not singular..
...
yticks([7.7:0.2:8.7]);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by