figure modern mode fails when parsing -P to psconvert
I am starting to use the new gmt modern mode.
In my first script I am trying to make a situation map of the Philippines:
gmt figure tectonic_map png,pdf P,A0.2c,Qg4,Qt4
gmt coast -RPH+r0.2 -JEqc/238/13c -Di -Wthick -A100/0/1 -Bafg
Everything works fine but the "-P" parsing from figure command to psconvert, and gmt complains:
figure [ERROR]: Unrecognized psconvert option -P
The figure in classic mode is produced correctly.
P is not a valid option in modern.
Ok, thanks Paul,
Then it should be deleted from the help
Of course the figure obtained can be rotated manually but it was nice to have the figure just right out of the box!
<psconvertoptions> contains one or more comma-separated options that will be passed to psconvert when preparing this figure [A]. The valid subset of psconvert options are A[<args>],C<args>,D<dir>,E<dpi>,H<factor>,Mb|f<file>,P,Q<args>,S See the psconvert documentation for details.
- Status changed from New to Resolved
- Assignee set to Paul
- % Done changed from 0 to 100
Right, it was removed from the docs but lived on in the usage...Now removed in r19898. There should not be any need to rotate any figure unless you really want it to be side-ways or upside down, no?
Ops, then I am having a different problem. My figures produced in modern mode are rotated.
Figures produced are attached.
The codes are:
pscoast -RPH+r0.2 -JEqc/238/13c -Di -Wthick -A100/0/1 -Baf > tectonic_map_classic.ps psconvert tectonic_map_classic.ps -Tg -P -A0.2c
gmt begin gmt figure tectonic_map_modern png A0.2c gmt coast -RPH+r5 -JEqc/238/+13c -Baf -BWESN -Di -Wthick -A100/0/1 gmt end