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

psscale.rst 1.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
  1. .. index:: ! psscale
  2. .. include:: module_core_purpose.rst_
  3. *******
  4. psscale
  5. *******
  6. |psscale_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt psscale**
  11. [ |SYN_OPT-B| ]
  12. [ |-C|\ *cpt* ]
  13. [ |-D|\ *refpoint* ]
  14. [ |-F|\ *panel* ]
  15. [ |-G|\ *zlo*\ /\ *zhi* ]
  16. [ |-I|\ [*max\_intens*\|\ *low_i*/*high_i*] ]
  17. [ |-J|\ *parameters* ]
  18. [ |-K| ]
  19. [ |-L|\ [**i**][*gap*] ]
  20. [ |-M| ]
  21. [ |-N|\ [**p**\|\ *dpi* ]]
  22. [ |-O| ]
  23. [ |-P| ] [ |-Q| ]
  24. [ |SYN_OPT-R| ]
  25. [ |-S|\ [**+c**\|\ **n**\ ][**+s**] ]
  26. [ |SYN_OPT-U| ]
  27. [ |SYN_OPT-V| ]
  28. [ |-W|\ *scale* ]
  29. [ |SYN_OPT-X| ]
  30. [ |SYN_OPT-Y| ]
  31. [ |-Z|\ *zfile* ]
  32. [ |SYN_OPT-p| ]
  33. [ |SYN_OPT-t| ]
  34. [ |SYN_OPT--| ]
  35. .. include:: colorbar_common.rst_
  36. .. include:: common_classic.rst_
  37. Examples
  38. --------
  39. .. include:: explain_example.rst_
  40. To plot a horizontal color scale (12 cm long; 0.5 cm wide) at the reference point (8,1)
  41. (paper coordinates) with justification at top center and automatic annotation interval, do
  42. ::
  43. gmt makecpt -T-200/1000/100 -Crainbow > t.cpt
  44. gmt psscale -Ct.cpt -Dx8c/1c+w12c/0.5c+jTC+h -Bxaf+l"topography" -By+lkm -P > map.ps
  45. To append a vertical color scale (7.5 cm long; 1.25 cm wide) to the
  46. right of a plot that is 6 inch wide and 4 inch high, using illumination,
  47. and show back- and foreground colors, and annotating every 5 units, we
  48. provide the reference point and select the left-mid anchor point via
  49. ::
  50. gmt psscale -Dx6.5i+jLM/2i+w7.5c/1.25c+e -O -Ccolors.cpt -I -Bx5+lBATHYMETRY -By+lm >> map.ps
  51. To overlay a horizontal color scale (4 inches long and default width) above a
  52. Mercator map produced by a previous call, ensuring a 2 cm offset from the map frame, use
  53. ::
  54. gmt psscale -DjCT+w4i+o0/2c+h -O -Ccolors.cpt -Baf -R -J >> map.ps
  55. .. include:: colorbar_notes.rst_
  56. See Also
  57. --------
  58. :doc:`gmt`, :doc:`makecpt`
  59. :doc:`gmtlogo`, :doc:`grd2cpt`
  60. :doc:`psimage`, :doc:`pslegend`
Tip!

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

Comments

Loading...