Symbols at the edge of a scatter plot are cut off

105 views
Skip to first unread message

Jason

unread,
Jul 26, 2010, 7:06:26 PM7/26/10
to coreplot-discuss
The symbols in my scatter plot are cut off at the edges of the plot
area as in this image:

http://coreplot-discuss.googlegroups.com/web/scatter-cutoff.png?gsc=g1zHGgsAAABhXLSDgjGpE74e9tY-cA-G

I tried making the X-axis wider, but it seems impossible to get the
leftmost and rightmost tickmarks centered unless the range is extended
by a 1.0 on either side. (In this case, I would have to change the
range from [0,5] to [-1,6]).

However, this wastes too much space on the screen. I tried extending
the range by less than 1.0 on either side (for instance [-0.5, 5.5])
but for some reason the distance between the leftmost tickmark and the
origin is not the same size as the distance from the rightmost
tickmark to the right edge of the graph.

Please let me know if there is a workaround for this. Thanks.

Eric

unread,
Jul 26, 2010, 8:50:04 PM7/26/10
to coreplot-discuss
I think you're on the right track. Have you tried a smaller offset,
like 0.1? That would give an xRange of [-0.1, 5.2]. You can keep the y-
axis on the left side by setting the orthogonalCoordinateDecimal
property of the x-axis to the starting location of the xRange, e.g.,
-0.1. Just so I'm clear with my range notation above, ranges are
defined by a starting location (the 1st number) and length (the 2nd
number).

Eric

On Jul 26, 7:06 pm, Jason <jasonbo...@gmail.com> wrote:
> The symbols in my scatter plot are cut off at the edges of the plot
> area as in this image:
>
> http://coreplot-discuss.googlegroups.com/web/scatter-cutoff.png?gsc=g...
Reply all
Reply to author
Forward
0 new messages