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
 Line plot of groups of data with different colors

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
ashpak Posted - 02/16/2016 : 2:09:06 PM
Hi everyone!
I am still learning to use Origin and I have a problem (which probably has a very easy answer) but I just could not find a solution to it also in the Origin forum. So I kindly need some help!
Basically I have divided my data (biological cells) in 9 different groups. Each group further has data values for 10 cells each. I want to make a line plot and put together all this data in one graph but resolve the groups by different colors. So basically 10 cells of group 1 should have black color, 10 cells of group 2 should have red and so on.I tried manually adding data of one group at a time from the layer contents option and then changing the color of each of the 10 cells. It worked for groups 1 and 2 and I had 20 cells in the plot (10 black and 10 red). But then adding group 3 was a problem as some of its data overlaps with both group 1 and 2. There I was lost as I could not resolve these group 3 black (default color) curves from the first two groups.
So can someone please suggest me an elegant and quick way to do this?
Thanks!!
PS: Sorry for this long post!
6   L A T E S T    R E P L I E S    (Newest First)
ashpak Posted - 02/19/2016 : 04:12:09 AM
Okay!
Thanks a lot for your help!
snowli Posted - 02/17/2016 : 2:17:55 PM
No, these subgroup by size and control how the color increment in same subgroup or only change between subgroup is only for Origin 2016.

Also if you make each column's label row clearly.
E.g. create two rows of column label row. One row for Cell info. One row for Group info, in Origin 2016, you can also choose Enable subgroup by Column Label so it will work nicely for unbalanced cells.

Origin 8.6 doesn't have such features so I would recommend upgrading. There are also many other nice features in Origin 2016.
http://originlab.com/2016

Thanks, Snow
ashpak Posted - 02/17/2016 : 10:54:22 AM
Hello Snow,
thanks for your nice suggestion. But I do not have Origin 2016. I am using the OriginPro 8.5.0 version.
Does this subgrouping feature exist in this version? and will it work in case I have different number of cells in each of the groups?
Thanks!
snowli Posted - 02/17/2016 : 10:40:33 AM
Hello,

If you are using Origin 2016, double click any plot to open Plot Details dialog.

On Group tab, you can set set group by size: 10.
Subgroup on Increment: Between Subgroups as the image below.


Then each 10 plots will show the same color.

Thanks, Snow
ashpak Posted - 02/17/2016 : 04:42:04 AM
Hi Echo,
thanks for your prompt reply.
I need something like this- see attached image of my sample data and the plot I want.
I have 10 cells in each group. So my final plot should show 10 curves each of 9 different colors.
Could you suggest how I should go about it?
Thanks!
Echo_Chu Posted - 02/17/2016 : 02:20:15 AM
Hi, ashpak

It looks to me you can arrange your groups in different columns and then plot the lines as below



If this is not what you needs, could you provide us your sample data and better sample graph(you can manually draw it) so that we can know how the data should be plotted in the graph.

Echo
OriginLab Techinical Service

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