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

filled_font.sh 388 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 with filled and outline fonts
  3. ps=filled_font.ps
  4. gmt which @circuit.png -G > /dev/null
  5. gmt psbasemap -R0/18/0/15 -Jx1c -B5g1 -BWSne -P -K > $ps
  6. ( $AWK '{print 1,15-NR*2,$1,$1}' | gmt pstext -R -J --FONT=48p,Helvetica-Bold -F+f+jBL -O) >> $ps << EOF
  7. red
  8. red=3p,green
  9. red=~3p,green
  10. p25+r150+bred+fblue
  11. -,-,-=3p,blue
  12. pcircuit.png+r150
  13. p7+r150=0.25p
  14. EOF
Tip!

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

Comments

Loading...