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
 script for appearance of legend
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Markus

Germany
29 Posts

Posted - 03/23/2004 :  05:46:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have some projects with a lot of graphs which I want to appear the same way for reporting purposes. I perform some labelling actions with graph-windows, for example I create and place a new legend at a certain position and perform an update of the legend afterwards:
label -d 4400 3500 -sl -n Legend text;
legend;

What I miss is the possibility to access the properties -e.g. black line as background or the font size. In the help I found that the legend-command takes no options and no arguments.
Is there any workaround to modify the properties of the legend by script?

Thanks for any help
Markus


Mike Buess

USA
3037 Posts

Posted - 03/23/2004 :  08:02:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Markus,

The legend is just a text label named "legend" and can be manipulated with the label command (as you've already found) and as any other named object. If you search for "User-created visual objects" in your labtalk guide you'll find that properties such as legend.left, legend.top, legend.background, legend.color and many more are available.

Mike Buess
Origin WebRing Member
Go to Top of Page

Markus

Germany
29 Posts

Posted - 03/24/2004 :  02:49:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Mike, thats exactly what I need!

Markus

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