|
|
| File Information |
| Description |
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. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Add top X-axis with different scale
|
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (6) |
| 06 Sep 2006 |
F Moisy
|
|
|
| 15 Sep 2006 |
Tim Richards
|
|
|
| 30 Nov 2006 |
Frederic Moisy
|
|
|
| 09 Nov 2007 |
Thierry Dalon
|
|
|
| 14 Aug 2009 |
K R
|
|
|
| 21 Jul 2010 |
Christos Saragiotis
|
|
|
| Updates |
| 13 Sep 2006 |
I have changed the example to define T and E before they are used.
I have also added a screenshot. |
|
Contact us at files@mathworks.com