How to use axis(axis_handle...)?
조회 수: 1 (최근 30일)
이전 댓글 표시
[AX H1 H2] = plotyy(x1, y1, x1, y2)
What I want to do next is... axis([H1, H2], 13 21 -Inf Inf) but it tells me that I have the incorrect number of arguments. axis(13 21 -Inf Inf) ^That works but does not do what I want.
Any help is appreciated. Thanks :)
댓글 수: 0
채택된 답변
Evan
2013년 7월 11일
Try putting your desired axis bounds inside a bracket. Axis accepts this as a single argument rather than four.
axis(axes_handle,[xmin xmax ymin ymax])
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!