Plot with multiple Y-axes

Versión 2.0.0.0 (9,61 KB) por Tom R
Plotting function that allows for N y-axes using a common x axis
2,9K descargas
Actualizado 11 ago 2019

Ver licencia

This function allows for results to be plotted on N separate y-axes. These y-axes share a common x axis, but do not need to share exactly the same x/y data or size. The function supports all utilities on the Figure toolbar, including the data tip, zoom/pan, and data brush. The plot scales upon resize of the figure, maximizing the utilization of the figure's space. The function supports many of the native property commands and syntax for 'plot' such as 'LineStyle','MarkerStyle',etc.. Additionally, saving and loading as .fig is supported, as well as all other MATLAB supported image types.

Citar como

Tom R (2024). Plot with multiple Y-axes (https://www.mathworks.com/matlabcentral/fileexchange/67349-plot-with-multiple-y-axes), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspiración para: plotNAx

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
2.0.0.0

Corrected legend location 'outside' functionality and demonstrated changed axis color in example script

1.0.0.0

Included a sample script to demonstrate possible ways to call the function.