how to add top x axis tick?

3 views (last 30 days)
Lei
Lei on 12 Mar 2012
I have a plotyy plot, and I want add a top x axis which will be the same as the bottom one. I tried to use box on, but this one does not work because I have two different y axes(it appears to be two different ticks on the right side of the y axis). also tried to use xAxisLoation, the problem with this one is that my x axis label also goes to the top which is not I want. Anybody knows how to solve this problem? I will appreciate your help!

Answers (0)

Categories

Find more on Two y-axis in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!