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

bezvec.sh 784 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
16
17
18
19
20
  1. #!/usr/bin/env bash
  2. # Because of issue #1225
  3. ps=bezvec.ps
  4. echo "168 53
  5. 174 51.5
  6. 189 54" > points
  7. # As is
  8. gmt psxy points -JQ180/57.5/6i -R160/200/50/65 -W0.1c,blue+s+ve0.4c -A -Bx10 -By5 -BswNE -P -K > $ps
  9. gmt psxy points -J -R -W2p,black+s+ve0.4c -P -K -O >> $ps
  10. gmt psxy points -J -R -W0.5p,red+ve0.4c -A -P -K -O >> $ps
  11. gmt psxy points -J -R -W0.5p,pink+s -P -K -O >> $ps
  12. gmt psxy points -J -R -Sx0.5c -W1p,green -P -O -K >> $ps
  13. # Resampled
  14. gmt sample1d -I200k -AR points > p.txt
  15. gmt psxy p.txt -J -R -W0.1c,blue+s+ve0.4c -A -Bx10 -By5 -BswNE -O -K -Y5i >> $ps
  16. gmt psxy p.txt -J -R -W2p,black+s+ve0.4c -P -K -O >> $ps
  17. gmt psxy p.txt -J -R -W0.5p,red+ve0.4c -A -P -K -O >> $ps
  18. gmt psxy p.txt -J -R -W0.5p,pink+s -P -K -O >> $ps
  19. gmt psxy p.txt -J -R -Sx0.5c -W1p,green -P -O >> $ps
Tip!

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

Comments

Loading...