Using TCL scripts to create labels on a plot

6 vues (au cours des 30 derniers jours)
Scott Miller
Scott Miller le 27 Avr 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.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by