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
 Forum for Origin C
 Script to plot all columns separately

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
cpriest84 Posted - 01/03/2008 : 11:49:07 AM
I'm new to Origin and am looking for a script to plot all columns separately. I analyze a lot of data everyday and looking to cut some time by running a script to automatically plot all columns individually. Is this possible?
2   L A T E S T    R E P L I E S    (Newest First)
cpriest84 Posted - 01/07/2008 : 4:56:21 PM
Thanks CP. However, I'm using version 7.0 and want all columns set to Y for various reasons. I appreciate your help.
cpyang Posted - 01/03/2008 : 1:03:35 PM
Assuming you have first col as X and all other columns as Y and you want to plot each Y against 1st col, then this will work


%W=%H;loop(i,2,[%W]!wks.ncols) {plotxy [%W]!(1,$(i)) o:=[<new>]};



assuming you have Origin 8. For earlier version, use the worksheet -p command.

CP



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