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.rst 2.1 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
  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. [ |-M| ] [ |-N| ]
  19. [ |-Q| ]
  20. [ |SYN_OPT-Rz| ]
  21. [ |SYN_OPT-U| ]
  22. [ |SYN_OPT-V| ]
  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-x| ]
  30. [ |SYN_OPT--| ]
  31. .. include:: grdimage_common.rst_
  32. .. include:: grdimage_notes.rst_
  33. Examples
  34. --------
  35. .. include:: explain_example.rst_
  36. .. include:: oneliner_info.rst_
  37. For a quick-and-dirty illuminated color map of the data in the remote file
  38. @AK_gulf_grav.nc, try::
  39. gmt grdimage @AK_gulf_grav.nc -I+d -B -pdf quick
  40. To gray-shade the file AK_gulf_grav.nc on a Lambert map at 1.5 cm/degree
  41. along the standard parallels 18 and 24, centered on (142W, 55N), try::
  42. gmt begin alaska_gray
  43. gmt grd2cpt -Cgray @AK_gulf_grav.nc
  44. grdimage @AK_gulf_grav.nc -Jl142W/55N/18/24/1.5c -B
  45. gmt end show
  46. To create an illuminated color plot of the gridded data set
  47. image.nc, using the intensities provided by the file intens.nc, and
  48. color levels in the file colors.cpt, with linear scaling at 10
  49. inch/x-unit, tickmarks every 5 units::
  50. gmt grdimage image.nc -Jx10i -Ccolors.cpt -Iintens.nc -B5 -pdf image
  51. To create an false color plot from the three grid files
  52. red.nc, green.nc, and blue.nc, with linear scaling at 10 inch/x-unit,
  53. tickmarks every 5 units::
  54. gmt grdimage red.nc green.nc blue.nc -Jx10i -B5 -pdf rgbimage
  55. When GDAL support is built in: To create a sinusoidal projection of a
  56. remotely located Jessica Rabbit::
  57. gmt grdimage -JI15c -Rd http://larryfire.files.wordpress.com/2009/07/untooned_jessicarabbit.jpg -pdf jess
  58. .. include:: cpt_notes.rst_
  59. See Also
  60. --------
  61. :doc:`gmt`,
  62. :doc:`gmt.conf`,
  63. :doc:`grd2kml`,
  64. :doc:`grdcontour`,
  65. :doc:`grdview`,
  66. :doc:`grdgradient`,
  67. :doc:`grdhisteq`
Tip!

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

Comments

Loading...