LinkTopAxisData

版本 1.0.0.0 (1.7 KB) 作者: Tim Richards
Adds a linked second x axis to a plot
3.9K 次下载
更新时间 2006/9/13

无许可证

This function will add a second x axis to a plot with the top ticks at arbitrary positions (you are not limited to the bottom tick positions). The new axis is created behind the original axis, and the two axes are linked together. This gives a much more intuitive behaviour, for example clicking in the figure window will select the original axis. It also alows you to drag the plot around, resize the limits and change between a log/linear scale without having to update the dummy axis manually.

引用格式

Tim Richards (2024). LinkTopAxisData (https://www.mathworks.com/matlabcentral/fileexchange/12131-linktopaxisdata), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

I have changed the example to define T and E before they are used.

I have also added a screenshot.