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

gmtdefaults.rst 2.5 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
  1. .. index:: ! gmtdefaults
  2. .. include:: module_core_purpose.rst_
  3. ***********
  4. gmtdefaults
  5. ***********
  6. |gmtdefaults_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt defaults** [ |-D|\ [**u**\|\ **s**] ]
  11. |No-spaces|
  12. Description
  13. -----------
  14. **defaults** lists all the GMT parameter defaults if the option
  15. **-D** is used. There are three ways to change some of the settings: (1)
  16. Use the command :doc:`gmtset`, (2) in classic mode you may use any text editor to edit the file
  17. :doc:`gmt.conf` in your home, ~/.gmt or current directory (if you do not
  18. have this file, run :doc:`gmtset` **-D** to get one with the system default
  19. settings), or (3) override any parameter by specifying one
  20. or more **-**\ **-PARAMETER**\ =\ *VALUE* statements on the command line of any
  21. GMT command (**PARAMETER** and *VALUE* are any combination listed
  22. below). The first two options are permanent changes until explicitly
  23. changed back, while the last option is ephemeral and only applies to the
  24. single GMT command that received the override. GMT can provide
  25. default values in US or SI units. This choice is determined at compile time.
  26. Required Arguments
  27. ------------------
  28. None.
  29. Optional Arguments
  30. ------------------
  31. .. _-D:
  32. **-D**\ [**u**\|\ **s**]
  33. Print the system GMT defaults settings to standard output. Append **u**
  34. for US defaults or **s** for SI defaults. [**-D** alone gives the
  35. version selected at compile time; If **-D** is omitted, the user's
  36. currently active defaults are printed.]
  37. .. include:: explain_help.rst_
  38. Your currently active defaults come from the :doc:`gmt.conf` file in
  39. the current working directory (in classic mode) or in your session directory
  40. (in modern mode), if present; else from the
  41. :doc:`gmt.conf` file in your home directory, if present; else from the
  42. file **~/.gmt/gmt.conf** if present; else from the system defaults
  43. set at the time GMT was compiled.
  44. GMT PARAMETERS
  45. --------------
  46. Read the :doc:`gmt.conf` man page for a full list of the parameters that
  47. are user-definable in GMT.
  48. Examples
  49. --------
  50. To get a copy of the GMT parameter defaults in your home directory, run::
  51. gmt defaults -D > ~/gmt.conf
  52. You may now change the settings by editing this file using a text editor
  53. of your choice, or use :doc:`gmtset` to change specified parameters on the
  54. command line.
  55. Bugs
  56. ----
  57. If you have typographical errors in your :doc:`gmt.conf` file(s), a warning
  58. message will be issued, and the GMT defaults for the affected
  59. parameters will be used.
  60. See Also
  61. --------
  62. :doc:`gmt`, :doc:`gmt.conf`,
  63. :doc:`gmtcolors`, :doc:`gmtget`,
  64. :doc:`gmtset`
Tip!

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

Comments

Loading...