What I am trying to achieve is fully detailed in the attached file. I have two variables which I normalized by a constant and plotted on y axis (left) against an independent variable on x-axis. Both axes have logarithm scale (base 10). However, I want to add a second y-axis (right) also with logarithm scale (base 10) which will normalize the same two dependent variables above by another constant and have the values of its axis' ticks to correspond to those of the y-axis (left) using the same set of data points of the two dependent variables vs independent variables (so single set of data points for each dependent variable). I have tried and couldn't manage to get the ticks and tick values of the y-axis (right) to work and to correspond to those of the y-axis (left).
MATLAB: I would like to have two y-axis and corresponding y-axis ticks and ticks values but with a single set of data points.
axis tickloglog
Best Answer