XY Scatter Plot with discolored points from two groups

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
zizka
Posts: 2
Joined: Sun Dec 27, 2009 2:53 pm

XY Scatter Plot with discolored points from two groups

Post by zizka »

Having two groups (A and B) of points A(x,y) and B(x,y), with information describing a membership of each point's belonging into either A or B, I can create a standard scatter-plot. However, each point should be plotted with a color according to a point's membership: e.g., red for all A-points, blue for B-points. If not colors, it can be something else, e.g., small circles for A's and small squares for B's, or so. Can I do it somehow using DPlot? If yes, how to do it?

My data has three columns: x, y, class. x and y are real numbers, class can be expressed in any way (as words red, blue; or 0, 1; it is not a problem).

Thanks for any hints, Jan
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

It sounds like you want a bubble plot (Options>Bubble Plot), though the "membership" value will have to be a number rather than "A" or "B".
Visualize Your Data
support@dplot.com
zizka
Posts: 2
Joined: Sun Dec 27, 2009 2:53 pm

Bubble Plot

Post by zizka »

Exactly as you write -- a bubble plot is what I want. I changed my two-valued nominal variable (in the third column) into the numeral one and received the right plot.

Thank you for your recommendation (as well as for implementing the DPlot tool -- imho, it is one of really intelligently behaving software unlike many others).

Jan
Post Reply