# How to plot a graph that has two x-axis?

4 views (last 30 days)

Show older comments

I want to plot Extreme Value Type I,II,III distribution curve. How can I plot a graph that has two x-axis? One x-axis(main) which is 'reduced variate' is linear and the other x-axis(sub) which is 'year' is non-linear. It looks like as below.

one x-axis(main): reduced variate

-------------------------------------------

-2 -1 0 1 2 3 4 5 6

the other x-axis(sub): year

-----------------------

2 5 10 20 50 100

##### 1 Comment

Priyank Sharma
on 16 May 2016

### Answers (3)

Scott
on 31 Dec 2012

##### 0 Comments

Malcolm Lidierth
on 31 Dec 2012

With Waterloo graphics, you can have any number of layered graphs each with independent axes (linear, log etc):

For MATLAB examples see:

For the project website see:

##### 0 Comments

### See Also

### Community Treasure Hunt

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

Start Hunting!