Origin Version (Select Help-->About Origin): Origin Pro 7.5 SR6, (B885) Operating System: Windows XP Professional, SP 3
I want to change the contents of named text labels in graph windows which are created from templates (.otp files). Some of the text labels in the templates need to be replaced by actual strings.
I tried to achieve this by the following LabTalk script. However, the "label n" command treats the message part of the command as literal.
if (exist(%2)==0) { window -t plot %1 %2; // create graph window from template %1 with name %2 %2!page.title = 3; // display name and label %2!page.label$ = %5; // label window }