Using TCL scripts to create labels on a plot

4 visualizaciones (últimos 30 días)
Scott Miller
Scott Miller el 27 de Abr. de 2020
I am looking for a way to attach labels to my plots but I cannot get the text function to work. I am using TCL as my scripting language.
The command is as follows:
text(x, y, index_Offset, ‘VerticalAlignment’, ‘bottom’, ‘HorizontalAlignement’, ‘right’);
Where index_Offset is ‘1’ ‘2’ ‘3’ etc.
The script just blows past the text command without attaching the result to my plot. However, if I halt the script at the text command and copy the command into matlab window the data is added to the plot.

Respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by