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
XY Scatter Plot with discolored points from two groups
Moderator: DPlotAdmin
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
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
support@dplot.com
Bubble Plot
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
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