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
 newbie question on simple 2D plots

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
forshaw Posted - 03/09/2004 : 04:11:56 AM
I am getting to grips with Origin 7.5 and have been frustrated by not being able to select and plot more than one subset of data in a single worksheet (e.g. by click and drag) onto the same axes. For example I have a single data file with n subsets of data - I want to plot the each of these subsets on the same axes using different symbols for each subset. I have tried "click & drag", and "add plot to layer" and "plot setup". All seem to baulk when I try to plot the second subset of data - the grtaph window blinks but no data appear.
I appreciate I could write a C routine to do this for me but suspect there must be a way to do this!
Hope someone can help!
4   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 03/09/2004 : 9:49:27 PM
quote:
Is there an easy way to create a layer which has axes labels which are identical to (i.e. on top of) the previous layer?



You can add new layer to your graph from the Edit Menu, and adding Top X will create a new layer that has X axis linked to the previous. In general, you can open the Layer properties from Plot Details and setup linking of one layer to another, and using Straight Link will allow tick labels to be identical to its parent.

CP


Mike Posted - 03/09/2004 : 3:57:01 PM
CP is suggesting that you use the values in a data set -- in this case Col(C) -- to determine your symbol color, shape, etc. So, for example, using CP's data set:

A(X)	B(Y)	C(Y)
1 10 1
2 11 1
3 12 0
4 13 0
5 14 2
6 15 2


1. Select Col(B) and create your 2D plot (symbol or line+symbol -- won't work with line plot).
2. From the menu, choose Format:Plot.
3. On the Symbol tab, click the Symbol Color button, then choose Indexing: Col (C).
-> Symbol color for data point i in Col(B) is now determined by the color index value in row i of Col(C).

4. To set symbol shape or fill by data set, select the Show Construction check box and choose a data set from the Shape or Interior drop down lists.

For more information, please see these Origin 7. 5 Help file topics:
>> Using Data Sets as a Plotting Enhancement
>> Using Values in a Data Set to Control Data Plot Color

I hope this helps.

Mike Genthner
Documentation Specialist
OriginLab

Edited by - Mike on 03/09/2004 4:06:02 PM

Edited by - Mike on 03/09/2004 4:14:10 PM

Edited by - Mike on 03/11/2004 09:20:07 AM
forshaw Posted - 03/09/2004 : 05:41:38 AM
Thanks CP. You have understood my problem and saved me time trying to find a solution. Is there an easy way to create a layer which has axes labels which are identical to (i.e. on top of) the previous layer? Perhaps it is easiest for me to write analysis code?
cpyang Posted - 03/09/2004 : 05:01:57 AM
Origin does not support plotting the same column into the same graph layer, which I suspect is what you are trying to do. You will need to add a second layer, or use another column to specify the symbols for your subsets. For example, the following data will plot the same column using two different symbols,



A(x) B(y) C(y)
1 10 1
2 11 1
3 12 0
4 13 0
5 14 2
6 16 2



if you plot col(B) and choose from Plot Details to use Col(C) as your symbol shape.

CP




Edited by - cpyang on 03/09/2004 05:03:00 AM

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