File Exchange Pick of the Week

Our best user submissions

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

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。