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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Cartesian Co-Ordinate Label on Plotstack

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Mulvenna Posted - 08/12/2013 : 06:05:40 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
Mulvenna Posted - 08/16/2013 : 08:49:59 AM
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!
greg Posted - 08/15/2013 : 5:17:04 PM
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?

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000