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

split.sh 222 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. #
  3. # Split a polyline into chunks
  4. ps=split.ps
  5. gmt psxy data.dat -R-15/-12/35/37.5 -JM10c -W5p,gray -B1 -P -K > $ps
  6. gmt split data.dat -C45 -A45/15 -fg | gmt psxy -R-15/-12/35/38 -JM10c -W1p -O >> $ps
Tip!

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

Comments

Loading...