Skip to content

Request for Additional Documentation: Creating new coords #2646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elbamos opened this issue May 21, 2018 · 2 comments · May be fixed by #6426
Open

Request for Additional Documentation: Creating new coords #2646

elbamos opened this issue May 21, 2018 · 2 comments · May be fixed by #6426

Comments

@elbamos
Copy link

elbamos commented May 21, 2018

There is currently extensive documentation on using the proto system to create new geoms, facets, and scales. However, there isn't for creating new coordinate systems. I'm trying to extend/modify Coord_Polar, and its quite challenging trying to determine what needs to be implemented and what does not. Some documentation would be greatly appreciated.

@paleolimbot
Copy link
Member

This might have to be coupled with exporting some coord-related functions (like possibly some of the expansion functions added in #3380). I seem to remember that extending a coord was nearly impossible without copying some internal ggplot code), and I think that documenting the extension process might help decide which of functions need to be exported.

@teunbrand
Copy link
Collaborator

I have found it hard to come up with a didactic example that touches important parts of the Coord class without becoming very involved with all sorts of details and loosing sight of the forest for all the trees. It is not too difficult to come up with complicated examples or easy examples, but the sweet spot is hard to find an example for.

@teunbrand teunbrand linked a pull request Apr 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants