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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Scatter plot w/ 2 groups (colored) and subgroups?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

fr0zensphere

29 Posts

Posted - 03/19/2018 :  6:05:36 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have Origin 2016. I want to make a scatter plot with before and after results. My sample contains several devices, which I would like to identify by different shapes on the scatter plot. Then I want to plot the same devices that were tested again at a later time. So each device in the later time must have the same data point shape to identify it as in the first test. However, the two main sets of before and after should be identified by different colors.

Here is a hand-drawn example of what I want:



(You can see a bigger version here:
https://s6.postimg.org/6d1u5qppt/scatter_plot_example.jpg)

How do I achieve this? Thanks!

Edited by - fr0zensphere on 03/19/2018 6:06:20 PM

JacquelineHe

287 Posts

Posted - 03/20/2018 :  02:41:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I am not sure your data struture. So I similar a dataset and plot a graph as an sample.

If you dataset like the following sample, highlight XYXY columns to plot the 2D Scatter plot. And then, double click the graph to open the "Plot Details" dialog. In the "Group" tab, set "Symbol Type" increment to "None". (Plesae note, these two scatter plots are grouped.)
And then go to "Symbol" tab, select the column in the "Shape" drop-down list to control the point's shape. Then you will see the graph as this sample.

https://www.originlab.com/doc/Origin-Help/PD-Dialog-Sym-Tab#Custom_Construction_and_associated_controls_.282D.29




Thanks
Jacqueline
OriginLab
Go to Top of Page

fr0zensphere

29 Posts

Posted - 03/20/2018 :  4:19:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Oh, interesting! I'm still having just one problem, though: the legend is showing blank spaces by the labels instead of having colored blocks like in your example.



How do I fix that?

Edited by - fr0zensphere on 03/20/2018 4:29:03 PM
Go to Top of Page

fr0zensphere

29 Posts

Posted - 03/20/2018 :  7:27:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Oh, actually, never mind! I figured it out. I had the first row of my workbook entirely blank. (Because that corresponds to a missing data point.) Once I put in a letter (or number) in the Shapes column, the colored symbol appeared in the legend.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000