Skip to content

Reduce chance of PostScript clipping if exceeding canvas in modern mode - #197

Merged
PaulWessel merged 1 commit into
masterfrom
westsouthclipping
Dec 2, 2018
Merged

PaulWessel merged 1 commit into
masterfrom
westsouthclipping

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

Modern mode allows the max 32767x32767 point canvase (~11.6 x 11.6 m) but we only set the initial origin at (5 inch, 5 inch). If users are not careful and use -X -Y with negative values they may be plotting outside the canvas and that is lost. We now move to (40,40) inches instead.

Fixes #195.

Modern mode allows the max 32767x32767 point canvase (~11.6 x  11.6 m) but we only set the initial origin at (5 inch, 5 inch).  If users are not careful and use -X -Y with negative values they may be plotting outside the canvas and that is lost.  We now move to (40,40) inches instead.
@PaulWessel
PaulWessel requested review from a team and seisman December 2, 2018 03:37

@seisman seisman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected.

@PaulWessel
PaulWessel merged commit 97b57b0 into master Dec 2, 2018
@PaulWessel
PaulWessel deleted the westsouthclipping branch December 2, 2018 05:08
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
Implements support for `xarray.DataArray` grids in `Figure.grdimage`.
Not much changed here but this required a lot of changes to the
GMT API itself.
Lacking a bit in documentation but I'm working on a refactor of the
library which will make these things easier.

Fixes GenericMappingTools#124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants