- https://www.mathworks.com/matlabcentral/fileexchange/46759-plotyn-m
- https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis
- https://www.mathworks.com/matlabcentral/fileexchange/4425-ploty4-m
- https://www.mathworks.com/matlabcentral/fileexchange/1017-plotyyy
Multiple axes plot more than 2 axes
조회 수: 11 (최근 30일)
이전 댓글 표시
Hi all,
I need to plot more than 6 y data for a single x data. These y data will not auto scale in a single plot.. what I was thinking of plotting with more than 2 y axes with different colour.. is there any functions in file exchange which can do this?
댓글 수: 0
채택된 답변
Jan
2017년 10월 14일
What about using the built-in yyaxis, or for older Matlab versions plotyy?
Serach in the FileExchange for "plotyy" to find e.g.:
and many more submissions.
댓글 수: 3
Jan
2017년 10월 15일
I'm not sure, what you are asking for. You can normalize all signals to the range [-1, +1] and use a listbox or the ButtonDownFcn of the drawn lines to display different tick labels on the Y axis, while the tick values remain the same. Or you can set the (undocumented) property 'YLimInclude' of all but the currently focused line to 'off'. Then the auto-scaling considers the active line only.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!