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
 Position of labels

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
white.string Posted - 10/27/2005 : 05:37:32 AM
Origin Version (Select Help-->About Origin): 7.5G SR5
Operating System: Win XP

Hello, I'm trying to control the position of text labels (e.g. a headline) in a graph template. Usually I specify the absolute position and calculate the pixel numbers for the label command like this:

xpos_cm=2;
ypos_cm=4;
xpos=round(xpos_cm/2.54*600,0);
ypos=round(ypos_cm/2.54*600,0);
label -s -sa -d xpos ypos -n Title Text of Headline;

But sometimes the resolution of 600dpi is not correct. How can I determine the actual resolution of my template or how can I set it? Are there other ways?

Thanks!
Rolf
2   L A T E S T    R E P L I E S    (Newest First)
white.string Posted - 10/27/2005 : 11:59:18 AM
Hi Hideo,

I've designed a template with a empty layer (non visible graph) as a titlepage for a measurement report. This report will be filled out during data processing. Thanks to your reply I've got another solution: To address certain fields to write information I should use the scale of my graph...

bye
Rolf
Hideo Fujii Posted - 10/27/2005 : 10:44:03 AM
Hi Rolf,

I usually use -p option to specify the xy coordinates based on the percent distance from the top left corner of the layer like:

label -p 2 5 -s Name: %K

Of course, this specifies the location according to the layer instead of the page. Is this a reason you use -d option?

--Hideo
OriginLab

Edited by - Hideo Fujii on 10/27/2005 10:44:39 AM

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