T O P I C R E V I E W |
Piety |
Posted - 12/07/2010 : 10:14:21 AM Origin Ver. and Service Release (Select Help-->About Origin): 6.0 Pro Operating System: Windows XP
Does anyone know how to write a script to change Plot details of graphs? For every graph, I have to change the plot detail (Page: Miscellaneous; Layer: size/speed; Line: width) manually. It is boring and time-consuming. Could someone help me fixing it, please? I really appreciate your help. |
5 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 01/07/2011 : 09:17:48 AM Copy Themes is selection sensitive. If you select a Layer then all you will be copying is Layer properties - not page properties or data properties. |
Piety |
Posted - 12/07/2010 : 11:34:06 PM Really appreciate your help, greg. Theme Editing is very nice. |
Piety |
Posted - 12/07/2010 : 10:25:17 PM greg, Thanks a lot. Script works well. |
Piety |
Posted - 12/07/2010 : 10:05:44 PM I have tried 8.0 Pro. Theme can set page settings only. Can not set the layer property.
I use Igor Pro before. It can print the command of every step in the command window. Can Origin 8.0 Pro work this way?
|
greg |
Posted - 12/07/2010 : 3:32:13 PM Look at the PAGE object to make changes there. Look at the LAYER object and LAYER.X and LAYER.Y sub-objects for layer changes. Finally, check out the SET command for changing plot properties. Type these in the script window for example: page.=<press Enter> layer.=<press Enter> layer.x.=<press Enter>
All much easier in 8.x since you can create a Theme and apply that theme to every graph in your project if you like. |