Skip to content

Add non-geographic plots to projection gallery - #728

Merged
seisman merged 7 commits into
GenericMappingTools:masterfrom
willschlitzer:non-geo-proj
Dec 14, 2020
Merged

seisman merged 7 commits into
GenericMappingTools:masterfrom
willschlitzer:non-geo-proj

Conversation

@willschlitzer

Copy link
Copy Markdown
Contributor

I added cartesian.py to have a Cartesian example for the projection gallery for #292.

@willschlitzer

Copy link
Copy Markdown
Contributor Author

I'm looking to add a polar coordinate plot example to the non-geographic gallery, but can't figure out how to plot it. I can use the P argument but am not sure how to add the other inputs, as the example code on the GMT docs uses grdmath, which doesn't look like an option on PyGMT at this time. I'll add polar plotting to the pull request if I can figure it out.

@seisman

seisman commented Dec 13, 2020

Copy link
Copy Markdown
Member

how to add the other inputs

You can simply pass x and y (i.e., angle theta and radius r) to the plot function.

@willschlitzer willschlitzer changed the title Add Cartesian plot to projection gallery Add non-geographic plots to projection gallery Dec 14, 2020
@weiji14 weiji14 added the documentation Improvements or additions to documentation label Dec 14, 2020
@seisman seisman added this to the 0.3.0 milestone Dec 14, 2020
@seisman
seisman merged commit 47fbf9c into GenericMappingTools:master Dec 14, 2020
@willschlitzer
willschlitzer deleted the non-geo-proj branch December 16, 2020 15:00

This branch was previously deployed

1 inactive deployment
Preview — b2bd3b08 Deployed Dec 14, 2020 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants