cleanfigure.m file from matlab2tikz can take care of this issue.
xlim command for figures
조회 수: 15 (최근 30일)
이전 댓글 표시
xlim command changes the axis limit of the figure.
How can i also limit data that is contained by the figure?
Appearently, even though xlim is applied data is still there.
댓글 수: 0
채택된 답변
추가 답변 (1개)
Wayne King
2013년 11월 8일
편집: Wayne King
2013년 11월 8일
If when you say limit data, you mean restrict the range of data values, then use ylim
x = randn(100,1);
plot(x);
set(gca,'xlim',[1 25],'ylim',[-1 1])
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!