figure1 = figure;
% Create axes
axes1 = axes('Parent',figure1,...
'YTick',[-1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1]);
box(axes1,'on');
hold(axes1,'all');
% Create plot
plot(-1:1);
How to set ytickslabel in graph version R2011b
조회 수: 4 (최근 30일)
이전 댓글 표시
채택된 답변
KL
2017년 5월 2일
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!