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_common.rst_ 5.8 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
  1. |No-spaces|
  2. Description
  3. -----------
  4. **grdview** reads a 2-D grid file and produces a 3-D perspective plot by
  5. drawing a mesh, painting a colored/gray-shaded surface made up of
  6. polygons, or by scanline conversion of these polygons to a raster image.
  7. Options include draping a data set on top of a surface, plotting of
  8. contours on top of the surface, and apply artificial illumination based
  9. on intensities provided in a separate grid file.
  10. Required Arguments
  11. ------------------
  12. *reliefgrid*
  13. 2-D gridded data set to be imaged (the relief of the surface). (See
  14. GRID FILE FORMAT below.)
  15. .. _-J:
  16. .. |Add_-J| unicode:: 0x20 .. just an invisible code
  17. .. include:: explain_-J.rst_
  18. .. include:: explain_-Jz.rst_
  19. Optional Arguments
  20. ------------------
  21. .. _-B:
  22. .. include:: explain_-B.rst_
  23. .. _-C:
  24. .. include:: use_cpt_grd.rst_
  25. .. _-G:
  26. |-G|\ *drapegrid* \| |-G|\ *grd_r* |-G|\ *grd_g* |-G|\ *grd_b*
  27. Drape the image in *drapegrid* on top of the relief provided by
  28. *reliefgrid*. [Default determines colors from *reliefgrid*]. Note that **-Jz** and
  29. **-N** always refers to the *reliefgrid*. The *drapegrid* only
  30. provides the information pertaining to colors, which (if *drapegrid* is a grid) will be looked-up
  31. via the CPT (see **-C**). Instead, you may give three grid files
  32. via separate **-G** options in the specified order. These files must contain the red, green, and
  33. blue colors directly (in 0-255 range) and no CPT is needed. The
  34. *drapegrid* may be of a different resolution than the *reliefgrid*.
  35. Finally, *drapegrid* may be an image to be draped over the surface, in which
  36. case the **-C** option is not required.
  37. .. _-I:
  38. **-I**\ [*intensgrid*\|\ *intensity*\|\ *modifiers*]
  39. Gives the name of a grid file with intensities in the (-1,+1) range,
  40. or a constant intensity to apply everywhere (affects the ambient light).
  41. Alternatively, derive an intensity grid from the input data grid *reliefgrid*
  42. via a call to :doc:`grdgradient`; append **+a**\ *azimuth*, **+n**\ *args*,
  43. and **+m**\ *ambient* to specify azimuth, intensity, and ambient arguments
  44. for that module, or just give **+d** to select the
  45. default arguments (**+a**\ -45\ **+nt**\ 1\ **+m**\ 0). If you want a more
  46. specific intensity scenario then run :doc:`grdgradient` separately first.
  47. If we should derive intensities from another file than *reliefgrid*, specify the file
  48. [Default is no illumination].
  49. .. _-N:
  50. **-N**\ *level*\ [**+g**\ *fill*]
  51. Draws a plane at this z-level. If the optional *color* is provided
  52. via the **+g** modifier, and the projection is not oblique,
  53. the frontal facade between the plane and the data perimeter is
  54. colored. See **-Wf** for setting the pen used for the outline.
  55. .. _-Q:
  56. **-Q**\ *args*\ [**+m**]
  57. Select one of following settings. For any of these choices, you may force
  58. a monochrome image by appending the modifier **+m**. Colors are then
  59. converted to shades of gray using the (monochrome television) YIQ transformation
  60. #. Specify **m** for mesh plot [Default], and optionally append *color* for a different mesh paint [white].
  61. #. Specify **mx** or **my** for waterfall plots (row or column profiles). Specify color as for plain **m**
  62. #. Specify **s** for surface plot, and optionally append **m** to have mesh lines drawn on top of surface.
  63. #. Specify **i** for image plot, and optionally append the effective dpi resolution for the rasterization [100].
  64. #. Specify **c**. Same as **-Qi** but will make nodes with z = NaN transparent, using the colormasking
  65. feature in PostScript Level 3 (the PS device must support PS Level 3). .
  66. .. _-R:
  67. .. |Add_-R| unicode:: 0x20 .. just an invisible code
  68. .. include:: explain_-R.rst_
  69. .. |Add_-Rz| replace:: This option may be used to
  70. indicate the range used for the 3-D axes [Default is region given by
  71. the *reliefgrid*]. You may ask for a larger *w/e/s/n* region to
  72. have more room between the image and the axes. A smaller region than
  73. specified in the *reliefgrid* will result in a subset of the grid.
  74. .. include:: explain_-Rz.rst_
  75. .. _-S:
  76. **-S**\ *smooth*
  77. Smooth the contours before plotting (see :doc:`grdcontour`) [Default is no smoothing].
  78. .. _-t:
  79. **-T**\ [**+o**\ [*pen*]][**+s**]
  80. Plot image without any interpolation. This involves converting each
  81. node-centered bin into a polygon which is then painted separately.
  82. Append **+s** to skip nodes with z = NaN. This option is useful for
  83. categorical data where interpolating between values is meaningless.
  84. Optionally, append **+o** to draw the tile outlines, and specify a
  85. custom pen if the default pen is not to your liking. As this option
  86. produces a flat surface it cannot be combined with **-JZ** or **-Jz**.
  87. .. _-U:
  88. .. include:: explain_-U.rst_
  89. .. _-V:
  90. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  91. .. include:: explain_-V.rst_
  92. .. _-W:
  93. **-W**\ **c**\|\ **m**\|\ **f**\ *pen*
  94. **-Wc**
  95. Draw contour lines on top of surface or mesh (not image). Append pen
  96. attributes used for the contours. [Default: width = 0.75p, color =
  97. black, style = solid].
  98. **-Wm**
  99. Sets the pen attributes used for the mesh. [Default: width = 0.25p,
  100. color = black, style = solid]. You must also select **-Qm** or
  101. **-Qsm** for meshlines to be drawn.
  102. **-Wf**
  103. Sets the pen attributes used for the facade. [Default: width =
  104. 0.25p, color = black, style = solid]. You must also select **-N**
  105. for the facade outline to be drawn.
  106. .. _-X:
  107. .. include:: explain_-XY.rst_
  108. .. include:: explain_-n.rst_
  109. .. |Add_perspective| unicode:: 0x20 .. just an invisible code
  110. .. include:: explain_perspective.rst_
  111. .. include:: explain_-t.rst_
  112. .. include:: explain_help.rst_
  113. .. include:: explain_grd_inout_short.rst_
  114. .. include:: explain_grdresample.rst_
Tip!

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

Comments

Loading...