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

apimat_io.sh 405 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. #
  3. # Test the C API for reading and writing native matrices.
  4. # We read @hotspots.txt and write it out again, then plot it.
  5. ps=apimat_io.ps
  6. testapi_matrix_io
  7. gmt pscoast -Rg -JQ0/18c -Glightgreen -Baf -BWSne+t"Testing Matrix i/o" -K -P > $ps
  8. gmt psxy -R -J -O -K test_hotspots.txt -Sc0.2c -Gred >> $ps
  9. gmt convert test_hotspots.txt -o0,1,t | gmt pstext -R -J -O -F+f6p+jBL -Dj4p >> $ps
Tip!

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

Comments

Loading...