MATLAB Answers

ZK

Multiple axis labelling and signing.

Asked by ZK
on 7 Oct 2013
Latest activity Commented on by ZK
on 8 Oct 2013

Hi. Is a possible to scale and sign or better label below axis x (1:36) in plot contourf like that?

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12

        1990                1991                1992

Many thanks.

  2 Comments

Jan Simon
on 7 Oct 2013

I do not understand what you want.

ZK
on 7 Oct 2013

I wish to only label axis x like I show. So can do do like that:

(everything under x axis).

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12

        1990                1991                1992

or:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 151 61 17 18 19 20 ... 36

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12

        1990                1991                1992

Tags

Products

No products are associated with this question.

1 Answer

Answer by Jan Simon
on 7 Oct 2013
 Accepted answer

This does not look like standard tick labels. But you can simply use text() to write whatever you want even under the axes.

  1 Comment

ZK
on 8 Oct 2013

Ok it's not a bad idea.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today