Remove deprecated doc and usage language from grdview #8302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is no need to explain about the deprecated way of specifying 3 grids to drap (red, green blue) since we stopped doing that for grdimage a long time ago. grdview will still check if given 3 but we don't have to talk about it. The usage and docs now deal with -Gdrapegrid|drapeimage only. We have a script that exercises the deprecated forms
-Gr.nc,g.nc,b.nc
and-Gr.nc -Gg.nc -Gb.nc
and that works fine under the hood without any advertisement.I left the special option -z for passing a single image from GMT.jl. Suggest @joa-quim play with removing that. Since the KEY need G or I perhaps some work needs to be done in
GMT_Encode_Options
?Improved the doc layout for -G and -Q as well as their synopsis.
Here is -G:
Here is -Q:
All tests pass so I think this is mostly a documentation PR.