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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Labtalk for Plot detail

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000