필터 지우기
필터 지우기

Multiple Axis on a 2d plot?

조회 수: 3 (최근 30일)
Karl
Karl 2011년 7월 18일
Hey all,
I've been looking into plots 2d line plots lately and want to be able to create multiple axes for some of my graphs. I've noticed that this is often seems to be limited to two axes on either side of the graph. But this method also seems to require that a second line is plotted. Is it possible to get around this?
I'd also really like to be able to put both sets of axes on the same side slightly offset from each other.
Thanks for your time! Karl

채택된 답변

Jan
Jan 2011년 7월 18일
See these FEX submissions:
Two promissing ways to find this by your own:
  1. Ask Google for "Matlab multiple axes".
  2. http://www.mathworks.com/matlabcentral/fileexchange/ and search for "multiple axes".
  댓글 수: 2
Karl
Karl 2011년 7월 18일
Thanks for the response. I forgot about the file exchange but Google was rather unhelpful as it only returns tutorials on the plotyy function essentially...
Jan
Jan 2011년 7월 18일
Google usually overwhelms the users with a lot of not useful hits. But for "Matlab multiple axes" the 2nd hit is the Pick-of-the-week page for LayerPlot, and Doug linked to plotyyy in the comment sections. So actually I did not ask Google, but Doug - and then the distance to asking this forum is not large ;-)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2011년 7월 18일
There is no built-in feature for this.
When you design this for yourself, keep in mind the need to zoom and pan.

카테고리

Help CenterFile Exchange에서 Two y-axis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by