|
|
| 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 (5) |
| 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
|
|
|
| Updates |
| 13 Sep 2006 |
I have changed the example to define T and E before they are used.
I have also added a screenshot. |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com