Skip to content

Conversation

@PaulWessel
Copy link
Member

If not given, then we read from data file, but this PR will allow you to give -Sr2c/1c, for instance. We almost had that in the code as the parsing correctly obtains the dimensions, but then we overrode that and insisted we always must read from file. Will do -SRwidth/height/radius next. All test pass as before.

If not given, then we read from data file, but this PR will allow you to give -Sr2c/1c, for instance.
@seisman
Copy link
Member

seisman commented Sep 4, 2020

Looks good to me. Perhaps degenerate to squares if only -Srwidth is given, or at least improve the error/warning messages. Currently, the warning message is a little unclear to me.

echo 5 5 | gmt plot -R0/10/0/10 -JX10c -Baf -Sr4 -pdf map
plot [WARNING]: Mismatch between actual (2) and expected (4) fields near line 1 in file <Standard Input>

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.

4 participants