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

outline.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
11
12
13
  1. #!/usr/bin/env bash
  2. # GMT_KNOWN_FAILURE
  3. # Test issue #1204
  4. # Text should be red with blue outline but the quoted text is blue.
  5. ps=outline.ps
  6. cat << EOF > t.txt
  7. 0 0.25
  8. 1 0.25
  9. EOF
  10. echo "0.5 0.75 Outlined text" | gmt pstext -JX11c -R0/1/0/1 -F+f40p,Times-Bold,red=1p,blue -B0 -P -K -Xc > $ps
  11. gmt psxy t.txt -J -R -W1p -Sqn1:+l"Outlined text"+f40p,Times-Bold,red=1p,blue -O -K >> $ps
  12. echo "0.5 0.75 Outlined text" | gmt pstext -J -R -F+f40p,Times-Bold,red=1p,blue -B0 -O -K -Y12c >> $ps
  13. gmt psxy t.txt -J -R -W1p -Sqn1:+l"Outlined text"+h+f40p,Times-Bold,red=1p,blue -O >> $ps
Tip!

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

Comments

Loading...