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
 Origin Forum
 Rotating Text 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

glishlab

USA
8 Posts

Posted - 01/04/2003 :  6:00:54 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am creating dynamic labels from labtalk script.

I have series of data points to label and I want the labels to be rotated 90 degrees.

I can get all of my labels where I want them no problem.

I just can not rotate them

Here is the generic script I am using:

label -a 91 2 -n Mass1 91;
set Mass1 -tr 91;

This should create a label "91" named Mass1 at the x,y coordinate 91,2. The label is created but not rotated.

Any help would be of great assistance. Thank you.

Desmond
Glishlab

cjfraz

USA
22 Posts

Posted - 01/06/2003 :  10:07:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply


Mass1.rotate = 90;

where '90' is degrees rotated.

you can then drop the set statement.

J...
Go to Top of Page

glishlab

USA
8 Posts

Posted - 01/07/2003 :  10:24:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That did the charm.

I wonder why those commands are not in the help file. I did not know that object had methods (I am fereing to it as they would be called in VB....)

Desmond
Go to Top of Page

Laurie

USA
404 Posts

Posted - 01/07/2003 :  10:37:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
LabTalk is made up of both commands and object methods and properties. You will want to look at the Object Reference chapter of the LabTalk Help.

OriginLab Technical Support
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