-
Notifications
You must be signed in to change notification settings - Fork 218
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
Gallery/tutorial example showing how to use/create custom symbols #1349
Comments
This issue is already a bit older. However, the possibility to create own symbols points out the high level of customization of GMT / PyGMT. @michaelgrund are you or is somebody else already working on a related tutorial or gallery example or do you plan to do so in the future? In case no, I would like to ask whether I can try working on this over the next weeks. @GenericMappingTools/pygmt-maintainers I am also fine with working on one of the issues #2004 or #2000. However, both have the |
@GenericMappingTools/pygmt-maintainers I think about working on this issue over time. But before putting more effort into a gallery example or tutorial, I want to ask whether somebody else is already working on this locally without submitting a PR yet. |
I don't have any local branch on this issue. Actually, I'm unsure if we really need such a tutorial/example. Custom symbols have complicated syntax, as shown in https://docs.generic-mapping-tools.org/latest/reference/custom-symbols.html. Are you going to explain the syntax? |
Yes you are right, these own custom symbols can become quite complicated. If we decide to create a gallery example / tutorial, I feel we should explain the concept using simple own custom symbols (composed of standard symbols). For more completed custom symbols, the user is referred to the GMT documentation, which explains this macro language in detail. One side idea was to just add a comment regarding the possibility of creating own custom symbols at the end of the already existing gallery example Custom symbols. Something in the direction of:
Maybe this is enough, as there is no difference to GMT and the plotting works in the same way as the built-in custom symbols (for which we already have a gallery example). |
sounds good to me. |
Description of the desired feature
I already opened a PR to add a gallery example showing different custom symbols (#1348 ). However, I feel it would be great to have a short tutorial in which it is shown how users could generate their own custom symbols (based on the information and instructions available from https://docs.generic-mapping-tools.org/latest/cookbook/custom-symbols.html).
The text was updated successfully, but these errors were encountered: