Adding a second axis

12 次查看(过去 30 天)
Hi there. Basically I would like to add an axis at the top specifying the location of each of the traces shown in the figure. The locations are stored in a 1x12 array and have the following form:
265 243 221 199 177 155 133 111 89 67 45 23
The values themselves have no meaning for the graph itself I just need them to be plastered there in some way! Thank you.

采纳的回答

Thorsten
Thorsten 2016-8-19
You can use text to place the labels, like
text(150, 0, '265', 'HorizontalAlignment', 'center')

更多回答(1 个)

Pawel Ladosz
Pawel Ladosz 2016-8-19

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by