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

pscontour.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
98
99
  1. .. index:: ! pscontour
  2. .. include:: module_core_purpose.rst_
  3. *********
  4. pscontour
  5. *********
  6. |pscontour_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt pscontour** [ *table* ] |-J|\ *parameters*
  11. |SYN_OPT-Rz|
  12. [ |-A|\ [**-**\ *contours*][*labelinfo*] ]
  13. [ |SYN_OPT-B| ]
  14. [ |-C|\ *contours* ]
  15. [ |-D|\ [*template*] ] [ |-E|\ *indexfile* ]
  16. [ |-G|\ [**d**\|\ **f**\|\ **n**\|\ **l**\|\ **L**\|\ **x**\|\ **X**]\ *params* ]
  17. [ |-I| ]
  18. [ |-K| ]
  19. [ |-L|\ *pen* ] [ |-N| ]
  20. [ |-O| ]
  21. [ |-P| ]
  22. [ |-Q|\ [*cut*][**+z**] ]
  23. [ |-S|\ [**p**\|\ **t**] ]
  24. [ |-T|\ [**h**\|\ **l**][**+a**][**+d**\ *gap*\ [/*length*]][**+l**\ [*labels*]] ]
  25. [ |SYN_OPT-U| ]
  26. [ |SYN_OPT-V| ]
  27. [ |-W|\ [*type*]\ *pen*\ [**+c**\ [**l**\|\ **f**]] ]
  28. [ |SYN_OPT-X| ]
  29. [ |SYN_OPT-Y| ]
  30. [ |SYN_OPT-b| ]
  31. [ |SYN_OPT-d| ]
  32. [ |SYN_OPT-e| ]
  33. [ |SYN_OPT-h| ]
  34. [ |SYN_OPT-i| ]
  35. [ |SYN_OPT-p| ]
  36. [ |SYN_OPT-qi| ]
  37. [ |SYN_OPT-t| ]
  38. [ |SYN_OPT-:| ]
  39. [ |SYN_OPT--| ]
  40. .. include:: contour_common.rst_
  41. .. include:: common_classic.rst_
  42. Examples
  43. --------
  44. .. include:: explain_example.rst_
  45. To make a raw contour plot from the file topo.xyz and drawing the
  46. contours (pen = 2) given in the CPT topo.cpt on a Lambert
  47. map at 0.5 inch/degree along the standard parallels 18 and 24, use
  48. ::
  49. gmt pscontour topo.xyz -R320/330/20/30 -Jl18/24/0.5i -Ctopo.cpt -W0.5p > topo.ps
  50. To use the same data but only contour the values 250 and 700, use
  51. ::
  52. gmt pscontour topo.xyz -R320/330/20/30 -Jl18/24/0.5i -C250,700 -W0.5p > topo.ps
  53. To create a color plot of the numerical temperature
  54. solution obtained on a triangular mesh whose node coordinates and
  55. temperatures are stored in temp.xyz and mesh arrangement is given by the
  56. file mesh.ijk, using the colors in temp.cpt, run
  57. ::
  58. gmt pscontour temp.xyz -R0/150/0/100 -Jx0.1i -Ctemp.cpt -G -W0.25p > temp.ps
  59. To save the triangulated 100-m contour lines in topo.txt and separate
  60. them into multisegment files (one for each contour level), try
  61. ::
  62. gmt pscontour topo.txt -C100 -Dcontours_%.0f.txt
  63. .. include:: contour_notes.rst_
  64. See Also
  65. --------
  66. :doc:`gmt`, :doc:`gmt.conf`,
  67. :doc:`gmtcolors`,
  68. :doc:`grdcontour`,
  69. :doc:`grdimage`,
  70. :doc:`nearneighbor`,
  71. :doc:`psbasemap`, :doc:`psscale`,
  72. :doc:`surface`,
  73. :doc:`triangulate`
Tip!

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

Comments

Loading...