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

grdimage-classic.rst 2.2 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
96
97
  1. .. index:: ! grdimage
  2. .. include:: module_core_purpose.rst_
  3. ********
  4. grdimage
  5. ********
  6. |grdimage_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt grdimage** *grd_z* \| *img* \| *grd_r grd_g grd_b*
  11. [ |-A|\ *out_img*\ [**=**\ *driver*] ]
  12. [ |SYN_OPT-B| ]
  13. [ |-C|\ *cpt* ]
  14. [ |-D|\ [**r**] ]
  15. [ |-E|\ [**i**\|\ *dpi*] ] |-J|\ *parameters*
  16. [ |-G|\ *color*\ [**+b**\|\ **+f**] ]
  17. [ |-I|\ [*intensfile*\|\ *intensity*\|\ *modifiers*] ]
  18. [ |-J|\ **z**\|\ **-Z**\ *parameters* ]
  19. [ |-K| ] [ |-M| ] [ |-N| ]
  20. [ |-O| ] [ |-P| ] [ |-Q| ]
  21. [ |SYN_OPT-Rz| ]
  22. [ |SYN_OPT-U| ]
  23. [ |SYN_OPT-V| ]
  24. [ |SYN_OPT-X| ]
  25. [ |SYN_OPT-Y| ]
  26. [ |SYN_OPT-f| ]
  27. [ |SYN_OPT-n| ]
  28. [ |SYN_OPT-p| ]
  29. [ |SYN_OPT-t| ]
  30. [ |SYN_OPT-x| ]
  31. [ |SYN_OPT--| ]
  32. .. include:: grdimage_common.rst_
  33. .. include:: common_classic.rst_
  34. .. include:: grdimage_notes.rst_
  35. Examples
  36. --------
  37. .. include:: explain_example.rst_
  38. For a quick-and-dirty illuminated color map of the data in the file stuff.nc, with
  39. the maximum map dimension limited to be 6 inches, try
  40. ::
  41. gmt grdimage stuff.nc -JX6i+ -I+d -P > quick.ps
  42. To gray-shade the file hawaii_grav.nc with shades given in shades.cpt
  43. on a Lambert map at 1.5 cm/degree along the standard parallels 18 and
  44. 24, and using 1 degree tickmarks:
  45. ::
  46. gmt grdimage hawaii_grav.nc -Jl18/24/1.5c -Cshades.cpt -B1 -P > hawaii_grav_image.ps
  47. To create an illuminated color PostScript plot of the gridded data set
  48. image.nc, using the intensities provided by the file intens.nc, and
  49. color levels in the file colors.cpt, with linear scaling at 10
  50. inch/x-unit, tickmarks every 5 units:
  51. ::
  52. gmt grdimage image.nc -Jx10i -Ccolors.cpt -Iintens.nc -B5 -P > image.ps
  53. To create an false color PostScript plot from the three grid files
  54. red.nc, green.nc, and blue.nc, with linear scaling at 10 inch/x-unit,
  55. tickmarks every 5 units:
  56. ::
  57. gmt grdimage red.nc green.nc blue.nc -Jx10i -B5 -P > rgbimage.ps
  58. When GDAL support is built in: To create a sinusoidal projection of a
  59. remotely located Jessica Rabbit
  60. ::
  61. gmt grdimage -JI15c -Rd http://larryfire.files.wordpress.com/2009/07/untooned_jessicarabbit.jpg -P > jess.ps
  62. See Also
  63. --------
  64. :doc:`gmt`,
  65. :doc:`gmt.conf`,
  66. :doc:`grd2kml`,
  67. :doc:`grdcontour`,
  68. :doc:`grdview`,
  69. :doc:`grdgradient`,
  70. :doc:`grdhisteq`
Tip!

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

Comments

Loading...