How to use axis(axis_handle...)?

1 次查看(过去 30 天)
Benson
Benson 2013-7-11
[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 :)

采纳的回答

Evan
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 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by