addaxes.m v1.1 (Sep 2009)

Adds a new linked axis related by ANY monotonic function. Includes ZOOM/PAN and DATETICK utility!

Vous suivez désormais cette soumission

With PLOTYY you can add a new axis, which will be linearly related with the old one. With this function, the new axis may be related by ANY monotonic ascending or descending function with the old one (which should be specified), and works with the x-axis as well.

Besides, both axes will be linked to work with the ZOOM/PAN functionalities and even the DATETICK or TLABEL function for a time axis.

For example, to include a new x-axis with an exponential relationship with the old one just use:
>> addaxes('XFun','exp')

Enjoy it!
Any comments and bug reports will be very appreciated!

Citation pour cette source

Carlos Adrian Vargas Aguilera (2026). addaxes.m v1.1 (Sep 2009) (https://fr.mathworks.com/matlabcentral/fileexchange/24875-addaxes-m-v1-1-sep-2009), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1.0.0

v1.1 Fixed bug with function inversion, thanks to Allen Hall. Added 'Inverse' options and 'Position' link. Fixed small bug related with 'off' option.

1.0.0.0