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

labeler.sh 469 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. #!/usr/bin/env bash
  2. # Test pstext options for accepting or modifying text using a format
  3. ps=labeler.ps
  4. echo 3 2.5 > t.txt
  5. gmt convert points.txt -o0,1 > p.txt
  6. gmt psxy -R0/7/-0.5/6.5 -JX6i -P -Baf -Sc0.25i -Gred -Wfaint points.txt -K > $ps
  7. gmt pstext -R -J -O -K -F+r+f10p,Helvetica-Bold,white p.txt >> $ps
  8. gmt pstext -R -J -O -K -F+z"z = %.1f@."+f9p,Times-Italic+jTC -Dj0/0.2i points.txt >> $ps
  9. gmt pstext -R -J -O -F+f24p,Courier-Bold+t"Some text label" t.txt >> $ps
Tip!

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

Comments

Loading...