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?
plot()
From matlab 2016 and onwards there is an option to define on what axis one plots:
yyaxis left plots... yyaxis right plots...
source: https://se.mathworks.com/help/matlab/ref/yyaxis.html