Different right and left axes in a MATLAB plot?

后端 未结 6 820
我在风中等你
我在风中等你 2020-12-05 15:28

I plot a single trace in MATLAB with plot(). I\'d like to add a right-y axis with a different set of tick marks (scaled linearly). Is this possible?

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 16:23

    You may try this submission to MATLAB File Exchange - PLOT2AXES.

    PLOT2AXES example http://www.mathworks.com/matlabcentral/fx_files/7426/2/plot2axes.png

提交回复
热议问题