Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions doc/scripts/GMT_App_N_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,15 @@ EOF
x=$(gmt math -Q $c 1 SUB 0.5 ADD =)
symbol=$(sed -n ${s}p tt.lis)
echo "$x $ys k${symbol}" >> tt.symbols
name=$(echo $symbol | tr 'a-z' 'A-Z')
echo "$x $yt $name" >> tt.text
echo "$x $yt $symbol" >> tt.text
echo "$x $yt $width $dy" >> tt.bars
done
done
gmt begin GMT_App_N_$p
gmt plot -R0/$n_cols/0/$H -Jx${width}i tt.lines -Wthick -B0
gmt plot -S${width}i -W0.5p tt.symbols -Ggray
gmt plot -Sri -Gblack tt.bars
# Shorten the spelling of QR_TRANSPARENT to QR_TRANSP to fit the figure
sed -e 's/TRANSPARENT/TRANSP/' < tt.text | gmt text -F+f${fs}p,white
# Shorten the spelling of QR_transparent to QR_transp to fit the figure
sed -e 's/transparent/transp/' < tt.text | gmt text -F+f${fs}p,white
gmt end show
done
Loading