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
 Problems with plotting my data

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
Selinger78 Posted - 10/10/2005 : 08:43:36 AM
Origin Version (Select Help-->About Origin): 6.0
Operating System: Win2K

Hello, here is my plotting problem (should be easy but somehow I cannot find a satisfying solution):

I have 6 columns of data, the first 2 ones should be X-Axis (time & temperature), the others are Y-Axis (intensities).
Now how shall I declare the axis and how can I plot this data so that I have two x-Axis (one at bottom and one at the top).
The best would be to first plot intensities over time and then add the
temperature. Any advices?
Thank you.

3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 10/19/2005 : 08:48:46 AM
Following script copies cols 2-6 to the end and plots data in 2 (unlinked) layers. Consult the layer command for linking options.

loop (i,2,6) {
%A=wks.col$(i).name$;
wo -c %A; // add col
%B=wks.col$(wks.ncols).name$;
copy col(%A) col(%B); // copy from original
};
del col(2);
wks.col6.type=4; // make sure col6 is X
%W=%H; // save wks name
win -t P; // create graph window
loop (i,2,5) {lay -i %(%W,i)}; // plot col 2-5 vs col 1
lay -a; // rescale
lay -n; // new layer
loop (i,7,10) {lay -i %(%W,i)}; // plot col 7-10 vs col 6
lay -a; // rescale

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 10/19/2005 08:50:57 AM

Edited by - Mike Buess on 10/19/2005 09:18:21 AM
Selinger78 Posted - 10/19/2005 : 07:23:39 AM
thx for the answer, I will try to somehow arrange this by a script.
The problem is I have as good as no idea of all the commands.
So if sombody can just give me the commands for

- moving a column
- copying a column to another one
- plotting two layers into oner graph

THANK YOU!
Selinger 78



Edited by - Selinger78 on 10/19/2005 07:24:43 AM
Mike Buess Posted - 10/10/2005 : 09:21:14 AM
Y columns are always plotted against the closest X column on the left. Currently you have columns A(X1), B(X2), C(Y2), D(Y2), E(Y2) and F(Y2) so that A(X1) is ignored. Easiest to move B(X2) to the end and follow it with copies of cols C-F...

A(X1), C(Y1), D(Y1), E(Y1), F(Y1), B(X2), C2(Y2), D2(Y2), E2(Y2), F2(Y2)

You can plot vs A(X1) and B(X2) in separate graph windows or separate layers in same window.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 10/10/2005 09:26:36 AM

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