Bug #304

-Xc -Yc doesn't work with -pz (the plot isn't centered)

Added by Eduardo about 4 years ago. Updated almost 4 years ago.

Status:NewStart date:2013-06-05
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.x-dev Platform:Linux

Description

This is centered:

#!/bin/bash
gmt gmtset GMT_COMPATIBILITY=5 MAP_ANNOT_OBLIQUE=22
gmt psbasemap -R-75/-60/-50/-40 -JM-62.5/-45/16 -Bxa2f1 -Bya1f1 -Xc -Yc -K > mag_derecho.ps
gmt pscoast -R -J -Df -A0/0/1 -S198/236/255 -O -K >> mag_derecho.ps
gmt pscoast -R -J -Bxa2f1 -Bya1f1 -Df -A0/0/1 -N1/0.5p,red,solid -FCL+g224/224/224 -W0.5p,198/236/255 -O >> mag_derecho.ps
gmt ps2raster -Tg -Qt4 -Qg4 -E96 -P mag_derecho.ps

This is shifted:

#!/bin/bash
gmt gmtset GMT_COMPATIBILITY=5 MAP_ANNOT_OBLIQUE=22
gmt psbasemap -R-75/-60/-50/-40 -JM-62.5/-45/16 -Bxa2f1 -Bya1f1 -Xc -Yc -pz135/30 -K > mag.ps
gmt pscoast -R -J -Df -A0/0/1 -S198/236/255 -pz135/30 -O -K >> mag.ps
gmt pscoast -R -J -Bxa2f1 -Bya1f1 -Df -A0/0/1 -N1/0.5p,red,solid -FCL+g224/224/224 -W0.5p,198/236/255 -pz135/30 -O >> mag.ps
gmt ps2raster -Tg -Qt4 -Qg4 -E96 -P mag.ps

mag_derecho.png (62.1 KB) Eduardo, 2013-06-05 07:38

mag.png (54.7 KB) Eduardo, 2013-06-05 07:38

History

#1 Updated by Florian almost 4 years ago

  • Target version changed from 5.1.0 to Candidate for next bugfix release

Also available in: Atom PDF