addaxes.m v1.1 (Sep 2009)

Adds a new linked axis related by ANY monotonic function. Includes ZOOM/PAN and DATETICK utility!
3.4K 次下载
更新时间 2009/9/21

查看许可证

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!

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Visual Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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