Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Scatter by 2 groups - Publication Quality

Subject: Scatter by 2 groups - Publication Quality

From: Ricardo Silva

Date: 19 Oct, 2009 21:30:19

Message: 1 of 2

Hi ,
 
I need to do a scatter plot by two groups (like time and individual, in a panel data).
I have continuous data and 4 classes for each grouping variable (16 combination).
How can I do this in Matlab?

Another issue is that I can't use colors in the graph. So I need to use different types of points (circle, triangle, etc) and patterns (solid, striped, etc), all in black & White.

Any hint, even concerning other software, will be very appreciated.
 
Thanks in advance,
 
Rick

Subject: Scatter by 2 groups - Publication Quality

From: Peter Perkins

Date: 20 Oct, 2009 10:56:20

Message: 2 of 2

Ricardo Silva wrote:

> I need to do a scatter plot by two groups (like time and individual, in a panel data).
> I have continuous data and 4 classes for each grouping variable (16 combination).
> How can I do this in Matlab?
>
> Another issue is that I can't use colors in the graph. So I need to use different types of points (circle, triangle, etc) and patterns (solid, striped, etc), all in black & White.

If you have access to the Statistics Toolbox, GSCATTER makes a scatterplot with different symbology for different groups.

Hope this helps.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us