scatter plot eats half of points on the edges

Bug #331857 reported by Treeform
4
Affects Status Importance Assigned to Milestone
Cairo Plot
Confirmed
Low
Rodrigo Moreira Araújo

Bug Description

Scatter plot eats half of points on the edges, maybe zooming out 5% then the absolute minimum would help?

Changed in cairoplot:
assignee: nobody → alf-rodrigo
importance: Undecided → High
Changed in cairoplot:
importance: High → Medium
Revision history for this message
Rodrigo Moreira Araújo (alf-rodrigo) wrote :

Actually, it was conceived to be like this.

The real problem here happens when a user tries something like this:

data = [(-1, -16, 12), (-12, 17, 11), (-4, 6, 5), (4, -20, 12), (13, -3, 21), (7, 14, 20), (-11, -2, 18), (19, 7, 18), (-10, -19, 15), (-17, -2, 6), (-9, 4, 10), (14, 11, 16), (13, -11, 18), (20, 20, 16), (7, -8, 15), (-16, 17, 16), (16, 9, 9)]

colors = [ (0,0,0,0.25), (1,0,0,0.75) ]
CairoPlot.scatter_plot ( 'cross_2_variable_radius', data = data, width = 500, height = 500, border = 20,
                                  axis = True, discrete = True, dots = 2, grid = True,
                                  x_title = "x axis", y_title = "y axis", circle_colors = colors )

On this example, the radius is variable, so allowing the whole circle to be shown on the borders could compromise the labels or axis titles presentation.

Revision history for this message
Treeform (starplant) wrote : Re: [Bug 331857] Re: scatter plot eats half of points on the edges

That is why I think there should be some margin around the graph points.

On Thu, Feb 26, 2009 at 7:45 AM, Rodrigo Moreira Araújo
<email address hidden> wrote:
> Actually, it was conceived to be like this.
>
> The real problem here happens when a user tries something like this:
>
> data = [(-1, -16, 12), (-12, 17, 11), (-4, 6, 5), (4, -20, 12), (13, -3,
> 21), (7, 14, 20), (-11, -2, 18), (19, 7, 18), (-10, -19, 15), (-17, -2,
> 6), (-9, 4, 10), (14, 11, 16), (13, -11, 18), (20, 20, 16), (7, -8, 15),
> (-16, 17, 16), (16, 9, 9)]
>
> colors = [ (0,0,0,0.25), (1,0,0,0.75) ]
> CairoPlot.scatter_plot ( 'cross_2_variable_radius', data = data, width = 500, height = 500, border = 20,
>                                  axis = True, discrete = True, dots = 2, grid = True,
>                                  x_title = "x axis", y_title = "y axis", circle_colors = colors )
>
> On this example, the radius is variable, so allowing the whole circle to
> be shown on the borders could compromise the labels or axis titles
> presentation.
>
> --
> scatter plot eats half of points on the edges
> https://bugs.launchpad.net/bugs/331857
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in cairoplot:
status: New → Confirmed
Changed in cairoplot:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.