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
 Origin Forum
 Question made more clear

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
naeem498 Posted - 02/28/2011 : 08:05:45 AM
I have a file in which I have 20 pixels (data) and each pixel is going through 8 scans that means I have 20 * 8 = 160 graphs data. Now I want to make 160 graphs out of those data, what I do is highlight pixel 1 scan 1 data make a graph, then pixel 1 scan 2 make a graph..... up till pixel 20 scan 8. You can imagine how it feels;) I want the software to make 160 graphs (each in a seperate window/picture) for me automatically

The file is a .txt form and looks like

pixel 1 scan 1 (1st graph)
1 123
2 123
3 123
4 123
.
.

Pixel 1 scan 2 (2nd graph)
1 123
2 123
3 123
.
.

Pixel 20 scan 8 (last graph)
1 123
.
.

Thanks for the help
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 02/28/2011 : 09:28:24 AM
In import options (either simple ASCII or the Import Wizard) select "Start New Column" for "When Non-numeric is Found in Numeric Field".
That will bring in each segment into separate column pairs. Then use:

%N = %H;
cols = wks.ncols - 1;
for(idx = 1 ; idx <= cols ; idx+=2)
{
win -a %N;
plotxy ($(idx),$(idx+1));
}

Knowing which graph is which Pixel/Scan is a bigger problem which would require you write a script. Consult the 8.x documentation for more options for 'plotxy'. If you do not have 8.x, then consult the layer object for a similar method.

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