I recently updated an experimental geom_ngon() to draw regular
polygons, with 50 vertices you get something akin to a circle,
see https://gist.github.com/2224724
HTH,
baptiste
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
Yes, exactly. It's also not obvious to me how if you have a
non-square plot what governs the shape of a "circle" with dimension
specified in npc.
> I recently updated an experimental geom_ngon() to draw regular
> polygons, with 50 vertices you get something akin to a circle,
> see https://gist.github.com/2224724
I wonder if we should also have a geom_circle that uses circleGrob.
Maybe it could just work for Cartesian coordinate systems.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
Yes, exactly. It's also not obvious to me how if you have a
non-square plot what governs the shape of a "circle" with dimension
specified in npc.
I wonder if we should also have a geom_circle that uses circleGrob.
> I recently updated an experimental geom_ngon() to draw regular
> polygons, with 50 vertices you get something akin to a circle,
> see https://gist.github.com/2224724
Maybe it could just work for Cartesian coordinate systems.
But why should geom_point be special? The same reasoning should apply
for geom_line, geom_text, ...
In general, for high-res displays, I think you're better of keeping
the physical size fixed, but increasing the resolution.