Adding a second axis

3 visualizaciones (últimos 30 días)
Matthee Vella
Matthee Vella el 19 de Ag. de 2016
Comentada: Matthee Vella el 19 de Ag. de 2016
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.

Respuesta aceptada

Thorsten
Thorsten el 19 de Ag. de 2016
You can use text to place the labels, like
text(150, 0, '265', 'HorizontalAlignment', 'center')
  1 comentario
Matthee Vella
Matthee Vella el 19 de Ag. de 2016
Thanks that did it!

Iniciar sesión para comentar.

Más respuestas (1)

Pawel Ladosz
Pawel Ladosz el 19 de Ag. de 2016

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by