Skip to content

Commit 2e725fb

Browse files
authored
Update GMT_App_N_1.sh (#8892)
1 parent d18700a commit 2e725fb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/scripts/GMT_App_N_1.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,15 @@ EOF
6262
x=$(gmt math -Q $c 1 SUB 0.5 ADD =)
6363
symbol=$(sed -n ${s}p tt.lis)
6464
echo "$x $ys k${symbol}" >> tt.symbols
65-
name=$(echo $symbol | tr 'a-z' 'A-Z')
66-
echo "$x $yt $name" >> tt.text
65+
echo "$x $yt $symbol" >> tt.text
6766
echo "$x $yt $width $dy" >> tt.bars
6867
done
6968
done
7069
gmt begin GMT_App_N_$p
7170
gmt plot -R0/$n_cols/0/$H -Jx${width}i tt.lines -Wthick -B0
7271
gmt plot -S${width}i -W0.5p tt.symbols -Ggray
7372
gmt plot -Sri -Gblack tt.bars
74-
# Shorten the spelling of QR_TRANSPARENT to QR_TRANSP to fit the figure
75-
sed -e 's/TRANSPARENT/TRANSP/' < tt.text | gmt text -F+f${fs}p,white
73+
# Shorten the spelling of QR_transparent to QR_transp to fit the figure
74+
sed -e 's/transparent/transp/' < tt.text | gmt text -F+f${fs}p,white
7675
gmt end show
7776
done

0 commit comments

Comments
 (0)