You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out how to add a specific CPT, but I'm not getting it to plot on the actual line. I tried setting a specific CPT to cmap, and also tried adding "red,green" to add specific colors, but no luck.
@weiji14 Impressive find, but that seems like a big step up in complexity from the rest of the tutorial. I've been out of geoscience for 8+ years so I don't keep up with what people want in their plots, but this seems out of place for a basic "How to plot lines" tutorial. My opinion is something like this belongs in a gallery example.
@seisman Are you looking to have anything else added to these line plotting examples before closing the issue? As stated above, I think the custom CPT example provided by @weiji14 may be a bit advanced for a basic tutorial.
I'm closing the issue, because I feel that the Figure.plot() method is becoming too complicated and may need some re-design. I prefer NOT to add more complicated (and less used) examples (e.g., decorated text) before we have some more discussions about Figure.plot().
Activity
seisman commentedon Oct 16, 2020
#604 (comment)
willschlitzer commentedon Dec 11, 2020
I'll work on this.
willschlitzer commentedon Dec 16, 2020
I'm trying to figure out how to add a specific CPT, but I'm not getting it to plot on the actual line. I tried setting a specific CPT to
cmap, and also tried adding"red,green"to add specific colors, but no luck.weiji14 commentedon Dec 17, 2020
Yeah it's complicated, took me a while to figure it out recently too. Try this for inspiration:
willschlitzer commentedon Dec 17, 2020
@weiji14 Impressive find, but that seems like a big step up in complexity from the rest of the tutorial. I've been out of geoscience for 8+ years so I don't keep up with what people want in their plots, but this seems out of place for a basic "How to plot lines" tutorial. My opinion is something like this belongs in a gallery example.
willschlitzer commentedon Dec 22, 2020
@seisman Are you looking to have anything else added to these line plotting examples before closing the issue? As stated above, I think the custom CPT example provided by @weiji14 may be a bit advanced for a basic tutorial.
seisman commentedon Dec 22, 2020
@weiji14's example is pretty good and could be added to the gallery (https://www.pygmt.org/dev/gallery/index.html#lines).
willschlitzer commentedon Dec 28, 2020
@weiji14 Are you planning on adding your code to the gallery? I can submit a pull request for it if you're too busy.
weiji14 commentedon Dec 28, 2020
I literally came up with that in 5 minutes 😅, but yeah, feel free to adapt it into the gallery.
willschlitzer commentedon Dec 28, 2020
Sounds good! Didn't want to step on your toes; I'll type it up in the next day or so.
willschlitzer commentedon Jan 24, 2021
@seisman Are we good to close this issue now that #741 and #774 have been merged?
seisman commentedon Jan 24, 2021
There are some lines/arrows we may want to add in the gallery. See #493 (comment)
core-man commentedon Mar 15, 2021
So we still want more line examples?
Which one is on the top priority? @seisman
seisman commentedon Apr 2, 2021
I'm closing the issue, because I feel that the
Figure.plot()method is becoming too complicated and may need some re-design. I prefer NOT to add more complicated (and less used) examples (e.g., decorated text) before we have some more discussions aboutFigure.plot().