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
 Position of labels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

white.string

Germany
Posts

Posted - 10/27/2005 :  05:37:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Hideo Fujii

USA
1582 Posts

Posted - 10/27/2005 :  10:44:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

white.string

Germany
Posts

Posted - 10/27/2005 :  11:59:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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