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

quotedcurvedoutline.sh 573 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. #!/usr/bin/env bash
  2. # Place a line with text along the curved line (well, straight here but via +v) and use font fill and font outline
  3. ps=quotedcurvedoutline.ps
  4. gmt math -T0/1/0.01 T SQRT = t.txt
  5. # Regular filled text
  6. gmt psxy t.txt -JX17c/8c -R0/1/0/1 -Sqn1:+v+l"Test String"+f60p,Times-Bold,green -P -B0 -K -Y1.5c > $ps
  7. # Fill, then draw outline
  8. gmt psxy t.txt -J -R -Sqn1:+v+l"Test String"+f60p,Times-Bold,green=2p,red -O -K -B0 -Y8.5c >> $ps
  9. # Draw outline, then fill text
  10. gmt psxy t.txt -J -R -Sqn1:+v+l"Test String"+f60p,Times-Bold,green=~2p,red -O -B0 -Y8.5c >> $ps
Tip!

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

Comments

Loading...