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
 Controlling Label Dimensions

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 - 05/12/2014 : 04:54:17 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.6
Operating System: Windows 7

Hi,

I have a problem with labels. My current script outputs a number of different graphs but I have two labels and a logo that are added to all graphs, in the same positions.

For most of the graphs this presents no problems but for one, I cannot control the label dimensions using labtalk. I am using the following script:

Page.Active$=1;
insertImg2g fname:="%OImports\ihicsi.tif";
BMP.height=200;
BMP.width=1260;
BMP.left=440;
BMP.top=70;


label -n Internal Internal Use Only!;
Internal.height=225;
Internal.width=1600;
Internal.left=1900;
Internal.top=90;
Internal.color= color(red);

date$ = "$(@D, D0)";
label -s -sa -n User %(date$) %(username$);
User.fsize=5;
User.top=6755;
User.left=455;


But for this particular graph page, no matter what numbers I enter, the "Internal" label cannot be controlled! I can't find any difference in page settings from all my other graph pages.

(The layer dimensions themselves also sometimes have a mind of their own)

Anyone know why this might happen?

Thanks
4   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 05/16/2014 : 09:47:19 AM
Hi,

Sorry but I cannot reproduce this by some simple graph.
Would you mind send one of your problematic opj to <tech@originlab.com>?

Zheng
OriginLab
Mulvenna Posted - 05/13/2014 : 01:45:10 AM
Yes, everything is offset, the page contains two graph layers plotted using plotstack, a table, two text labels and an image.

The graphs are exported two different ways:

1. Single pages using expGraph

2. As a multipage PDF. I create a worksheet with only one column and insert graphs in each cell, give the cells dimensions to make the graphs as big as possible and use expPDFw.

Regards,
Conor
lkb0221 Posted - 05/12/2014 : 09:37:31 AM
Hi,

The whole graph page is offset down?
You use export to create pdf or print?

Zheng
OriginLab
Mulvenna Posted - 05/12/2014 : 06:08:38 AM
OK Turns out this is not the problem. The label had a white out background so the label dimensions are now identical to all other graphs.

But there is still some setting that is different that I can't find.

Even though all physical dimensions are identical to all other graphs in Origin, the PDF file that is exported is offset down and to the left by quite a bit (the entire graph).

It's not a huge issue, but all graphs are to be sent to customers and it would be preferable if I could keep a neat, consistent format.

Any ideas as to what could be wrong would be great!

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