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

view_filled.sh 500 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
  1. #!/usr/bin/env bash
  2. # Test grdcontour -N with perspective
  3. #
  4. ps=view_filled.ps
  5. gmt makecpt -T675/975/25 -Cjet > t.cpt
  6. gmt blockmean @Table_5_11.txt -R0/7/0/7 -I1 > mean.xyz
  7. gmt surface mean.xyz -R -I1 -Gdata.nc
  8. # Draw a filled contour map with perspective using grdcontour
  9. gmt grdcontour data.nc -JX4.08i/4.2i -B2f1 -BWSne -Ct.cpt -A+gwhite -N -Gd3i -S4 -P -K -p125/35 -X1.25i > $ps
  10. # Another viewpoint
  11. gmt grdcontour data.nc -JX -B2f1 -BWSne -Ct.cpt -A+gwhite -N -Gd3i -S4 -O -p215/35 -Y4.5i >> $ps
Tip!

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

Comments

Loading...