The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 change format of many lines at once
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic



Posted - 05/08/2012 :  08:12:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): SR6
Operating System: Windows 7

I guess this is a trivial question, but all examples I found only related to changing the format of the currently active dataset:
I have a graph, let's call it Graph1, with 24 layers and a total of about 500 lines. I would like to change the line width of all these lines. What is the correct command?


1298 Posts

Posted - 05/08/2012 :  11:05:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is no simple command to do this, but it can be easily done either in the GUI or using script.

GUI Method :
Select a single dataset ( use the new 'A' key in combination with the mouse wheel to zoom in on the graph ), right-click the selection and choose "Save Format as Theme".
Enter an appropriate name (such as Line Width of 3) and optional Description.
Check the List View box, then right-click and Delete all entries except the Line Width. Set the Line Width value and click OK.

This creates a Theme that can now set the Line thickness of any Line or Line + Symbol graph. To use it - Press F7 to open Theme Gallery, select your Theme, select Apply Theme to Current Graph and click Apply Now.

Script method :
{ = iLayer;
doc -e D
set %C -w 500*.02; // where .02 is the line width
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 © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000