Plotting multiple Y scales
Often times, people want to plot two vectors of data with the same x-axis, but the vectors are at wildly different values on the y-axis. The vector with the smaller y values will often be just a flat line if you use the same scale for both. For that reason, things like plotyy were invented.
Zhipeng was not satisfied with our implementation, so he made his own with LayerPlot. Compare the difference!
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.