-
Notifications
You must be signed in to change notification settings - Fork 390
Open
Labels
bugSomething isn't workingSomething isn't workinglongtermLong standing issues that need to be resolvedLong standing issues that need to be resolved
Milestone
Description
Description of the problem
When using
gmt set MAP_FRAME_TYPE inside
gmt set MAP_ANNOT_OBLIQUE 2
no annotation is plotted along the upper and lower plot borders. I expected longitude annotations parallel to the plot border placed on the inside of the border.
Using
gmt set MAP_FRAME_TYPE plain
gmt set MAP_ANNOT_OBLIQUE 2
everything works as expected with parallel annotations on the upper and lower border of the plot.
I expect the parallel annotations parallel to the plot border regardless of MAP_FRAME_TYPE
. Combinations of bit 2 in MAP_ANNOT_OBLIQUE
don't work either.
Full script that generated the error
This test script generates two identical plots except for MAP_FRAME_TYPE
to highlight the problem.
#!/bin/bash
FILE1=test_map_annot_plain.ps
FILE2=test_map_annot_inside.ps
GMT_R="-R-125.1/31.6/-108.18/41.14r"
GMT_J="-JL-117.3/36.7/32.6/40/16c"
#
# ANNOTATIONS OUTSIDE (WORKS)
#
# get rid of anything that might influence the plot
rm gmt.conf
rm gmt.history
gmt set MAP_FRAME_TYPE plain
gmt set MAP_ANNOT_OBLIQUE 2
gmt psbasemap \
${GMT_R} ${GMT_J} \
-BWESN \
-Bpa5f1g5 \
> $FILE1
#
# ANNOTATIONS INSIDE (FAILS)
#
# get rid of anything that might influence the plot
rm gmt.conf
rm gmt.history
gmt set MAP_FRAME_TYPE inside
gmt set MAP_ANNOT_OBLIQUE 2
gmt psbasemap \
${GMT_R} ${GMT_J} \
-BWESN \
-Bpa5f1g5 \
> $FILE2
System information
- Operating system: 18.04.1 LTS (GNU/Linux 4.15.0 x86_64)
- Version of GMT: Version 6.0.0_68cf5ae_2019.03.08 [64-bit] [MP] [4 cores]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglongtermLong standing issues that need to be resolvedLong standing issues that need to be resolved