Hello, I would like to have a single plot with 2 linked X axes with different scales. Currently, I have plot with 2 axes (first in time, second in samples) with significantly different scales, however with same number of points - see attached plot.
I want both axes to zoom simultaneously and proportionally, if I use linkaxes it changes scale on one of the axes, which is problem given the difference in scales. Can you recommend me any solution? Thanks
Thanks for quick response! However I don't see this as a solution, since this, just like my original solution (without linkaxes) zooms only one X axis, the other stays as it was. I would like to see, when zoomed, sample range and time range at the same time.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.