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

connections.sh 484 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
  1. #!/usr/bin/env bash
  2. #
  3. # Plot a lot of line segments
  4. ps=connections.ps
  5. gmt pscoast -R-71.6/-57.4/37.4/46.2 -JM20c -Dh -Glightgreen -Wdarkgreen -K > $ps
  6. # echo ; echo -n "- test with > "
  7. time cat "${src:-.}"/connections.dat | gmt psxy -A -R -J -O -K -Wred >> $ps
  8. # echo -n "- test with NaN"
  9. time sed 's:>:NaN NaN:' "${src:-.}"/connections.dat | gmt psxy -A -R -J -O -K -Wblue --IO_SEGMENT_MARKER=N >> $ps
  10. gmt psbasemap -R -J -O -Ba2f1g2 >> $ps
  11. #printf "%-72s" "- PostScript result"
Tip!

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

Comments

Loading...