Axis XX

Add multiple X or Y axes to plots, rescale data, use any function, add data tips, zoom, flexible.

2K descargas

Actualizado 10 Dec 2015

De GitHub

Ver licencia en GitHub

This package will allow you to plot data on multiple X or Y axis. Similar to MATLAB's own plotyy function, but less limiting.
Create any combination of X or Y axes, plot multiple lines on each X or Y axis
Native argument styles and overloaded plot functions supported e.g:
axisyy(xdata, ydata, 'r-', 'LineWidth', 2, 'MarkerSize', 14);
axisyy(TimeSeriesObject, 'b-', 'LineWidth', 3);
Use any plotting function you specify (plot, line, patch, etc)
Set the limits of every axis independently
Ability to update xdata/ydata directly without thinking about the transformation
Compatible with MATLAB's zoom, pan and data cursor tools
Figure is resizeable and rescales objects around colorbars if they are present
The code has been completely rewritten using an object oriented approach.
Originally inspired by AddAxis 5 by Harry Lee

Check the example.m file for some quick tips.

If you find any bugs or have suggestions please write in the comments box or message me. If the submission was helpful, then please rate it.

Citar como

Luke Plausin (2023). Axis XX (, GitHub. Recuperado .

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

Inspirado por: addaxis, GUI Layout Toolbox, GUI Layout Toolbox

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión

Changed to GPL license. Reverted title back to Axis XX. Support for intermediate AddAxis 6 removed (message me if you need the old code)

Moved the code to Github

Added compatiability for semilogy semilogx and reverse direction ticks
Added example of subplots (of sorts)
Improved axis scaling - FigureResizeFcn now available to user

Additional axis background colours will now dynamically match those of the container.
Updated description
Updated file description

Fixed a minor bug in the zoom routine. Improved figure resizing

Fixed an error in the datatips
Fixed an error preventing the figure from resizing after an additional axis is deleted

Changed image
Complete overhaul of code
New class interface not compatiable with AddAxis6 - old code included for legacy users
You can now plot on any combination of X or Y axis

Known issues -
Not yet compatiable with subplot semilog or loglog

Removed redundant .m files from package and updated the readme file. Better datatip text. Updated screenshot

Source code mods to fix a couple of bugs

Edited description

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.