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

grdvector-classic.rst 1.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
  1. .. index:: ! grdvector
  2. .. include:: module_core_purpose.rst_
  3. *********
  4. grdvector
  5. *********
  6. |grdvector_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt grdvector** *compx.nc* *compy.nc* **-J**\ *parameters* [ |-A| ]
  11. [ |SYN_OPT-B| ]
  12. [ |-C|\ *cpt* ]
  13. [ |-G|\ *fill* ]
  14. [ |-I|\ [**x**]\ *dx*\ [/*dy*] ]
  15. [ |-K| ] [ |-N| ] [ |-O| ] [ |-P| ] [ |-Q|\ *parameters* ]
  16. [ |SYN_OPT-R| ]
  17. [ |-S|\ [**i**\|\ **l**]\ *scale* ]
  18. [ |-T| ]
  19. [ |SYN_OPT-U| ]
  20. [ |-W|\ *pen* ]
  21. [ |SYN_OPT-X| ]
  22. [ |SYN_OPT-Y| ]
  23. [ |-Z| ]
  24. [ |SYN_OPT-f| ]
  25. [ |SYN_OPT-p| ]
  26. [ |SYN_OPT-t| ]
  27. [ |SYN_OPT--| ]
  28. .. include:: grdvector_common.rst_
  29. .. include:: common_classic.rst_
  30. Examples
  31. --------
  32. .. include:: explain_example.rst_
  33. To draw the vector field given by the files r.nc and theta.nc on a
  34. linear plot with scale 5 cm per data unit, using vector rather than
  35. stick plot, scale vector magnitudes so that 10 units equal 1 inch, and
  36. center vectors on the node locations, run
  37. ::
  38. gmt grdvector r.nc theta.nc -Jx5c -A -Q0.1i+e+jc -S10i > gradient.ps
  39. To plot a geographic data sets given the files comp_x.nc and comp_y.nc,
  40. using a length scale of 200 km per data unit and only plot every 3rd node in either direction, try
  41. ::
  42. gmt grdvector comp_x.nc comp_y.nc -Ix3 -JH0/20c -Q0.1i+e+jc -S200k > globe.ps
  43. .. include:: grdvector_notes.rst_
  44. See Also
  45. --------
  46. :doc:`gmt`, :doc:`gmtcolors`,
  47. :doc:`grdcontour`, :doc:`psxy`
Tip!

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

Comments

Loading...