bio_img_pick

Pick of the Week

Recognizing outstanding contributions from the MATLAB ecosystem

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!

Plotyy
PlotLayer

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.