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

ex08.sh 481 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
  1. #!/usr/bin/env bash
  2. # GMT EXAMPLE 08
  3. #
  4. # Purpose: Make a 3-D bar plot
  5. # GMT modules: grd2xyz, makecpt, text, plot3d
  6. # Unix progs: echo
  7. #
  8. gmt begin ex08
  9. gmt makecpt -Ccubhelix -T-5000/0
  10. gmt grd2xyz @earth_relief_05m -R0/5/0/5 | gmt plot3d -B -Bz1000+l"Topography (m)" -BWSneZ+b+tETOPO5 \
  11. -R0/5/0/5/-5000/0 -JM12c -JZ14c -p200/30 -So0.0833333ub-5000 -Wthinnest -C -i0:2,2
  12. echo '0.1 4.9 This is the surface of cube' | gmt text -JZ -Z0 -F+f24p,Helvetica-Bold+jTL -p
  13. gmt end show
Tip!

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

Comments

Loading...