How to make a dense plot?

User: "sawilla"
New Altair Community Member
Updated by Jocelyn
RapidMiner version: 4.6

My data has 3 attributes (att1, att2, att3). I want to create a scatter plot (x-axis: att1, y-axis: att2, colour: att3). My problem is that I would like a dense square (my data is dense) but my scatter plot has large gaps between the data blocks. The values of att1 and att2 are integers, they have the same range (in fact, the data points are symmetric) so my first version of the plot plotted the data points in a simple scatterplot with linear scaled axes. After loading the data, I filter it using an attribute value filter (cost <= 1000). My data then has gaps (eg: both the x-axis and y-axis values jump from 5 to 19 so the plot is dense up to 5, then a gap from 6 to 18, then dense from 19 to the next gap) and I want the plot to not contain the gaps. I tried to accomplish this by converting att1 and att2 to nominals (I also tried strings). Now, I still have gaps but my axes also have no sorting. For example, the x-axis values are 118 84 25 86 20 21 95 42…  Also, the filtered nominal/string values are indicated on the axes when there are no corresponding data points. What is the best way to produce a dense plot without gaps for this type of data?

Reg

Find more posts tagged with