Double x axis labels

7 views (last 30 days)
Roi
Roi on 27 Jul 2017
Commented: Adam on 27 Jul 2017
Hi, I have two vectors at the same length, one of them I use as x axis in a graph plot, but I want both of them to appear at the x axis labels, meaning double labels at the x axis. How can I do that?
Thanks,
  2 Comments
KSSV
KSSV on 27 Jul 2017
Not clear...can you show using a figure?
Adam
Adam on 27 Jul 2017
You can set the XLabel property to any set of strings you want so you can manually concatenate two arrays of numbers into a set of strings/chars if you want.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!