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 run after import assistant

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
83years Posted - 06/21/2011 : 08:06:11 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: Windows 7

Hi,

I am importing lots of data using the same batch process and I would like to run a script to produce a graph at the end for all the newly produced data.

My import produces a new workbook (named after the .csv file) and has worksheets called "raw data", "n Data", "e Data" and "f Data". In all but the raw data there are 2 columns (x and y data) which I am currently plotting one by one and merging graphs.

What I would like is to produce a single bar chart (plot:=203) for all the "n Data" worksheets in all the imported workbook.

Is this possible?

Any help would be amazing,

Thanks
2   L A T E S T    R E P L I E S    (Newest First)
83years Posted - 06/22/2011 : 08:19:34 AM
Thanks a lot Greg, that worked a treat
greg Posted - 06/21/2011 : 4:58:36 PM
Here is some LabTalk ..

win -t plot column;
range rg = [%H]1!;
doc -e W {
if( exist([%H]"n Data") )
plotxy iy:=[%H]"n Data"!(1,2) plot:=203 legend:=0 og:=rg;
}
layer -g; // optional

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