Y-Axis location in MATLAB plots
이전 댓글 표시
I've seen plots with y-axis at the center of the plot rather than to the left. How do I do this in MATLAB?
댓글 수: 2
Paulo Silva
2011년 1월 27일
Please be more specific, you could be talking about using suplots or adjusting the axis so y is at center or something else.
henry wang
2011년 1월 27일
채택된 답변
추가 답변 (2개)
Oleg Komarov
2011년 1월 27일
1 개 추천
Or another submission axescenter by Matt Fig:

Wenxuan Liang
2021년 3월 10일
1 개 추천
Just use set(gca, 'YAxisLocation', 'origin') if you are using a MATLAB newer than 2018, I think
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!