Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

caption.sh 732 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. #!/usr/bin/env bash
  2. # Test gmt pstext paragraph with outline vs outline/fill
  3. # Making sure issue # 893 is dealt with.
  4. ps=caption.ps
  5. cat << EOF > tmp
  6. This is an unmarked header record not starting with #
  7. > 0 -0.5 13p 3i j
  8. @%5%Figure 1.@%% This illustration shows nothing useful, but it still needs
  9. a figure caption. Highlighted in @;255/0/0;red@;; you can see the locations
  10. of cities where it is @_impossible@_ to get any good Thai food; these are to be avoided.
  11. However, the bottom caption copy is outlined while the top caption is white and outlined.
  12. EOF
  13. gmt pstext tmp -R-1/4/0/6 -Jx1i -B0 -h1 -M -N -F+f12,Times-Roman+jLT -W1 -K -P -Y3i -Xc > $ps
  14. gmt pstext tmp -R -J -h1 -M -N -F+f12,Times-Roman+jLT -W1 -Gwhite -O -Y3i >> $ps
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...