addaxes.m v1.1 (Sep 2009)
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!
Citar como
Carlos Adrian Vargas Aguilera (2024). addaxes.m v1.1 (Sep 2009) (https://www.mathworks.com/matlabcentral/fileexchange/24875-addaxes-m-v1-1-sep-2009), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Data Import and Analysis > Visual Exploration >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
Etiquetas
Agradecimientos
Inspirado por: addaxis, plots.m, plotses.m, tlabel.m v2.6.1 (Sep 2009), linkzoom.m v1.3 (Aug 2009)
Inspiración para: xunits, yunits and zunits.m (Jul 2014)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.