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

grdview-classic.rst 2.4 KB

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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  1. .. index:: ! grdview
  2. .. include:: module_core_purpose.rst_
  3. *******
  4. grdview
  5. *******
  6. |grdview_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt grdview** *reliefgrid* |-J|\ *parameters*
  11. [ |SYN_OPT-B| ]
  12. [ |-C|\ [*cpt*]]
  13. [ |-G|\ *drapegrid* \| |-G|\ *grd_r* |-G|\ *grd_g* |-G|\ *grd_b* ]
  14. [ |-I|\ [*intensgrid*\|\ *intensity*\|\ *modifiers*] ]
  15. [ **-Jz**\|\ **Z**\ *parameters* ] [ **-K** ]
  16. [ |-N|\ *level*\ [**+g**\ *fill*] ] [ **-O** ] [ **-P** ]
  17. [ |-Q|\ *args*\ [**+m**] ]
  18. [ |SYN_OPT-Rz| ]
  19. [ |-S|\ *smooth* ]
  20. [ |-T|\ [**+o**\ [*pen*]][**+s**] ]
  21. [ |SYN_OPT-U| ]
  22. [ |-W|\ **c|m|f**\ *pen* ]
  23. [ |SYN_OPT-X| ]
  24. [ |SYN_OPT-Y| ]
  25. [ |SYN_OPT-f| ]
  26. [ |SYN_OPT-n| ]
  27. [ |SYN_OPT-p| ]
  28. [ |SYN_OPT-t| ]
  29. [ |SYN_OPT--| ]
  30. .. include:: grdview_common.rst_
  31. .. include:: common_classic.rst_
  32. Examples
  33. --------
  34. .. include:: explain_example.rst_
  35. To make a mesh plot from the file hawaii_grav.nc and drawing the
  36. contours given in the CPT hawaii.cpt on a Lambert map at
  37. 1.5 cm/degree along the standard parallels 18 and 24, with vertical
  38. scale 20 mgal/cm, and looking at the surface from SW at 30 degree
  39. elevation, run
  40. ::
  41. gmt grdview hawaii_grav.nc -Jl18/24/1.5c -Chawaii.cpt \
  42. -Jz0.05c -Qm -N-100 -p225/30 -Wc > hawaii_grav_image.ps
  43. To create an illuminated color perspective plot of the gridded data set
  44. image.nc, using the CPT color.cpt, with linear scaling at
  45. 10 cm/x-unit and tickmarks every 5 units, with intensities provided by
  46. the file intens.nc, and looking from the SE, use
  47. ::
  48. gmt grdview image.nc -Jx10c -Ccolor.cpt -Qs -p135/30 -Iintens.nc > image3D.ps
  49. To make the same plot using the rastering option with dpi = 50, use
  50. ::
  51. gmt grdview image.nc -Jx10c -Ccolor.cpt -Qi50 -p135/30 -Iintens.nc > image3D.ps
  52. To create a color PostScript perspective plot of the gridded data set
  53. magnetics.nc, using the CPT mag_intens.cpt, draped over
  54. the relief given by the file topography.nc, with Mercator map width of 6
  55. inch and tickmarks every 1 degree, with intensities provided by the file
  56. topo_intens.nc, and looking from the SE, run
  57. ::
  58. gmt grdview topography.nc -JM6i -Gmagnetics.nc -Cmag_intens.cpt \
  59. -Qs -p140/30 -Itopo_intens.nc > draped3D.ps
  60. .. include:: grdview_notes.rst_
  61. See Also
  62. --------
  63. :doc:`gmt`,
  64. :doc:`gmtcolors`,
  65. :doc:`grdcontour`,
  66. :doc:`grdimage`,
  67. :doc:`grdsample`,
  68. :doc:`nearneighbor`,
  69. :doc:`psbasemap`,
  70. :doc:`pscontour`, :doc:`pstext`,
  71. :doc:`surface`
Tip!

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

Comments

Loading...