Using TCL scripts to create labels on a plot
조회 수: 6 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!