layerplot

A plot function much more powerful than plotyy

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

When we use matlab function plotyy, it's inconvenient to setup the labels and ranges of the three axes and the legend of the two lines. What's more, plotyy can not be used in some cases, for example,if the target axes is a child of a uipanel. layerplot enables one who has little knowledge about the graphics handle to plot two lines with two y-axis in one figure and easily setup the corresponding axes properties.

Cite As

Zhipeng Gao (2026). layerplot (https://www.mathworks.com/matlabcentral/fileexchange/11178-layerplot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0