geomnet icon indicating copy to clipboard operation
geomnet copied to clipboard

geomnet::geom_circle radius is proportional to grid limits, not to actual grid

Open yhoogstrate opened this issue 2 years ago • 0 comments

I am not sure if this is a bug or a feature. If this is a feature, adding an argument to offer both would be really helpful.

when creating circles with geom_circle, the radius is proportional to the limits of the figure. Thus, a radius of 0.5 reflects 0.5 times the x and the y axis of the screen. Given it's the radius, it would completely fill the figure. It would be more intuitive and streamlined with other gg functions to have the radius using the actual x and y values on the grid.

kind regards

Youri


edit:

I wrote a solution:

https://github.com/yhoogstrate/geomnet

I am not too deep into the gg enviroment so this probably isn't the most elegant solution.

yhoogstrate avatar Aug 20 '21 08:08 yhoogstrate