The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Cartesian Co-Ordinate Label on Plotstack
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mulvenna

Germany
46 Posts

Posted - 08/12/2013 :  06:05:40 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I'm trying to put labels on one graph in a plotstack using the cartesian co-ordinate command. For a normal xy plot this works fine but for some reason when I activate the required layer on the stack and use the same command the labels will not show

window -a %(plotstackname$);
page.active$=3;
label -s -a 3 4 -b 0 -n Labelturbspd1 \p40($(turbspd2)rpm);


Does anyone know why this doesn't work and how I could get it to work?

Thanks

greg

USA
1378 Posts

Posted - 08/15/2013 :  5:17:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you have assigned plotstackname$ the name of your graph window, the graph has at least three layers, the X data range for that layer includes 3 and the Y data range includes 4 then I see no reason why it would fail.
At the end of the script, is the layer 3 or the appropriate graph selected?
Go to Top of Page

Mulvenna

Germany
46 Posts

Posted - 08/16/2013 :  08:49:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes all appropriate layers were selected for each label.
Eventually managed to get it to work simply by copying and pasting to a later point in the script.

Still don't know why it wouldn't work but at least it works now!

Thanks anyway!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000