File tree Expand file tree Collapse file tree 6 files changed +13
-14
lines changed
Expand file tree Collapse file tree 6 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1- 3D Plots
2- --------
1+ 3-D Plots
2+ ---------
Original file line number Diff line number Diff line change 88at the positions listed in the first three columns of the sample dataset
99``rock_compositions``, with default annotations and gridline spacings, using
1010the specified labeling defined via ``alabel``, ``blabel``, and ``clabel``.
11- Points are colored based on the values given in the fourth columns of the
11+ Points are colored based on the values given in the fourth column of the
1212sample dataset via ``cmap=True``.
1313"""
1414
Original file line number Diff line number Diff line change 1414arrow, and **I** for plain open tail. Further append **l** or **r** (e.g.
1515``"+bar"``) to only draw the left or right half-sides of the selected head/tail
1616(default is both sides) or use **+l** or **+r** to apply simultaneously to both
17- beginning and end. In this context left and right refer to the side of the
17+ beginning and end. In this context, left and right refer to the side of the
1818vector line when viewed from the beginning point to the end point of a line
1919segment. The angle of the vector head apex can be set using **+a**\ *angle*
2020(default is 30). The shape of the vector head can be adjusted using
2121**+h**\ *shape* (e.g. ``"+h0.5"``).
2222
2323For further modifiers see :gmt-docs:`plot.html#vector-attributes`.
2424
25- In the following we use the :meth:`pygmt.Figure.plot` method to plot vectors
25+ In the following, we use the :meth:`pygmt.Figure.plot` method to plot vectors
2626with individual heads and tails. We must specify the modifiers (together with
2727the vector type, here ``"v"`` for Cartesian vector, see also the
2828:doc:`Vector types example </gallery/lines/vector_styles>`)
2929by passing the corresponding shortcuts to the ``style`` parameter.
30-
3130"""
3231
3332# %%
Original file line number Diff line number Diff line change 1111For the remaining symbols see the GMT Technical Reference
1212:gmt-docs:`reference/custom-symbols.html`.
1313
14- Beside these built-in custom symbols GMT allows users to define their own custom
14+ Besides these built-in custom symbols, GMT allows users to define their own custom
1515symbols. For this, a specific macro language is used. A detailed introduction can
1616be found at :gmt-docs:`reference/custom-symbols.html#the-macro-language`. After
1717defining such a symbol it can be used in the same way as a built-in custom symbol.
1818
19- *Please note*: Custom symbols can not be used in auto-legends yet.
19+ *Please note*: Custom symbols cannot be used in auto-legends yet.
2020"""
2121
2222# %%
Original file line number Diff line number Diff line change 7676# The ``perspective`` azimuth can be changed to set the direction that is "up"
7777# in the figure. The ``contour_pen`` parameter sets the pen used to draw contour
7878# lines on the surface. :meth:`pygmt.Figure.colorbar` can be used to add a
79- # color bar to the figure. The ``cmap`` parameter does not need to be passed
80- # again. To keep the color bar 's alignment similar to the figure, use ``True``
79+ # colorbar to the figure. The ``cmap`` parameter does not need to be passed
80+ # again. To keep the colorbar 's alignment similar to the figure, use ``True``
8181# as argument for the ``perspective`` parameter.
8282
8383fig = pygmt .Figure ()
Original file line number Diff line number Diff line change 4141
4242
4343# %%
44- # Set a color map
45- # ---------------
44+ # Set a colormap
45+ # --------------
4646#
4747# :meth:`pygmt.Figure.grdimage` takes the ``cmap`` parameter to set the CPT of the
4848# figure. Examples of common CPTs for Earth relief are shown below. A full list of CPTs
6464
6565
6666# %%
67- # Add a color bar
68- # ---------------
67+ # Add a colorbar
68+ # --------------
6969#
7070# The :meth:`pygmt.Figure.colorbar` method displays the CPT and the associated z-values
7171# of the figure, and by default uses the same CPT set by the ``cmap`` parameter for
You can’t perform that action at this time.
0 commit comments