T O P I C R E V I E W |
martin12 |
Posted - 05/08/2012 : 08:12:22 AM Origin Ver. and Service Release (Select Help-->About Origin): 8.0.63.988 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? Thanks. |
1 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 05/08/2012 : 11:05:11 AM 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 : // BEGIN SCRIPT loop(iLayer,1,24) { page.active = iLayer; doc -e D { set %C -w 500*.02; // where .02 is the line width } } // END SCRIPT
|
|
|