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

shrinkvec1.sh 471 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. # Test shrinking vector heads, part 1
  3. # Fill and pen etc. set on command line
  4. gmt begin shrinkvec1 ps
  5. gmt math -T0/2/0.1 -o1,0 0 = | awk '{printf "%s\t%s\t0\t%si\t%s\n", $1, $2, $2, $2}' > data.txt
  6. gmt plot data.txt -R0/1/0/2.1 -JX2i/9i -Sv0.5i+ea+h0.4+jb+n2i -W3p -B -BWStr
  7. gmt plot data.txt -Sv0.5i+ea+h0.4+jb+n2i -W3p -Gred -B -Blstr -X2.25i
  8. gmt plot data.txt -Sv0.5i+ea+h0.4+jb+n2i+p- -W3p -Gred -B -Blstr -X2.25i
  9. rm -f data.txt
  10. gmt end show
Tip!

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

Comments

Loading...