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

clip.rst 1.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
  1. .. index:: ! clip
  2. .. include:: module_core_purpose.rst_
  3. ******
  4. clip
  5. ******
  6. |clip_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt clip** [ *table* ] |-J|\ *parameters* |-C|\ [*n*]
  11. |SYN_OPT-Rz|
  12. [ |-A|\ [**m**\|\ **p**\|\ **x**\|\ **y**] ]
  13. [ |SYN_OPT-B| ]
  14. |-J|\ **z**\|\ **Z**\ *parameters* ]
  15. [ |-N| ]
  16. [ |-T| ]
  17. [ |SYN_OPT-U| ]
  18. [ |SYN_OPT-V| ]
  19. [ |-W|\ [*pen*] ]
  20. [ |SYN_OPT-X| ]
  21. [ |SYN_OPT-Y| ]
  22. [ |SYN_OPT-bi| ]
  23. [ |SYN_OPT-di| ]
  24. [ |SYN_OPT-e| ]
  25. [ |SYN_OPT-f| ]
  26. [ |SYN_OPT-g| ]
  27. [ |SYN_OPT-h| ]
  28. [ |SYN_OPT-i| ]
  29. [ |SYN_OPT-p| ]
  30. [ |SYN_OPT-qi| ]
  31. [ |SYN_OPT-t| ]
  32. [ |SYN_OPT-:| ]
  33. [ |SYN_OPT--| ]
  34. .. include:: clip_common.rst_
  35. Examples
  36. --------
  37. To see the effect of a simple clip path which result in some symbols
  38. being partly visible or missing altogether, try::
  39. gmt begin clip
  40. gmt clip -R0/6/0/6 -Jx2.5c -W1p,blue << EOF
  41. 0 0
  42. 5 1
  43. 5 5
  44. EOF
  45. gmt plot @tut_data.txt -Gred -Sc2c
  46. gmt clip -C -B
  47. gmt end show
  48. where we activate and deactivate the clip path. Note we also draw the
  49. outline of the clip path to make it clear what is being clipped.
  50. See Also
  51. --------
  52. :doc:`gmt`, :doc:`grdmask`,
  53. :doc:`basemap`, :doc:`mask`
Tip!

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

Comments

Loading...