Skip to content

Commit 69efa0c

Browse files
committed
com
1 parent 6ab9671 commit 69efa0c

File tree

6 files changed

+18
-17
lines changed

6 files changed

+18
-17
lines changed

_libs/lunr/lunr_index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentation/modules/grd2cpt.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using the options **bg**, **overrule_bg** or **no_bg**.
3232

3333
The color model (RGB, HSV or CMYK) of the palette created by \myreflink{makecpt} will be the same as
3434
specified in the header of the master CPT. When there is no `COLOR_MODEL` entry in the master CPT,
35-
the `COLOR_MODEL` specified in the `gmt.conf` file or on the command line will be used.
35+
the `COLOR_MODEL` specified in the `gmt.conf` (see \myreflink{gmtset}) file or on the command line will be used.
3636

3737
Required Arguments
3838
------------------
@@ -170,8 +170,8 @@ from the remote 5m relief file, using the geo color table, try:
170170
\begin{examplefig}{}
171171
```julia
172172
using GMT
173-
grd2cpt("@earth_relief_06m", region=(0,60,0,60), cmap=:geo, symetric=:u)
174-
imshow("@earth_relief_06m", region=(0,60,0,60), coast=true)
173+
grd2cpt("@earth_relief_06m_g", region=(0,60,0,60), cmap=:geo, symetric=:u)
174+
imshow("@earth_relief_06m_g", region=(0,60,0,60), coast=true)
175175
```
176176
\end{examplefig}
177177

@@ -199,8 +199,8 @@ and return the CDF table as well, try:
199199
\begin{examplefig}{}
200200
```julia
201201
using GMT
202-
C, cdf = grd2cpt("@earth_relief_10m", nlevels="11+c+f");
203-
imshow("@earth_relief_10m", cmap=C)
202+
C, cdf = grd2cpt("@earth_relief_10m_g", nlevels="11+c+f");
203+
imshow("@earth_relief_10m_g", cmap=C)
204204
```
205205
\end{examplefig}
206206

documentation/modules/grdimage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ add coast lines, a colorbar and do an histogram equalization with 64 colors, do:
142142
\begin{examplefig}{}
143143
```julia
144144
using GMT
145-
grdimage("@earth_relief_20m", proj=:Winkel, equalize=64, coast=true,
145+
grdimage("@earth_relief_20m_g", proj=:Winkel, equalize=64, coast=true,
146146
colorbar=true, shade=true, show=true)
147147
```
148148
\end{examplefig}

documentation/modules/grdtrack.md

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ and only write out (dist, topo) records, try
236236
\begin{examplefig}{}
237237
```julia
238238
using GMT
239+
resetGMT() # hide
239240
D = grdtrack("@earth_relief_05m", region=(0,20,0,20), profile="BL/TR+d", o="3,2")
240241
imshow(D)
241242
```

examples/images/01_grdimage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Color images
22

3-
Color images are made with ``grdimage`` which takes the usual common options and a color map.
3+
Color images are made with \myreflink{grdimage} which takes the usual common options and a color map.
44
It operates over grids or images. The next example shows how to create a color appropriate for
55
the grid's *z* range, plot the image and add a color scale. We use here the ``data`` keyword
66
to tell the program to load the grid from a file. The ``@`` before the *tut_relief.nc* file
@@ -29,6 +29,6 @@ add coast lines and a color bar
2929
```julia
3030
resetGMT() # hide
3131
using GMT
32-
grdimage("@earth_relief_20m", proj=:Winkel, colorbar=true, coast=true, show=true)
32+
grdimage("@earth_relief_20m_g", proj=:Winkel, colorbar=true, coast=true, show=true)
3333
```
3434
\end{examplefig}

tutorials/texture_shading/texture.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ of the calculation.
1515
using GMT
1616

1717
# Extract a region from the SRTM1 grids stored in the GMT server
18-
G = gmtread("@earth_relief_01s", region=(-114.14,-111.28,35.50,37.06));
18+
G = gmtread("@earth_relief_01s_g", region=(-114.14,-111.28,35.50,37.06));
1919

2020
# Compute the Leland texture
2121
I1 = texture_img(G);
@@ -39,7 +39,7 @@ is what we see (but we can select any cmap that we want).
3939
\begin{examplefig}{}
4040
```julia
4141
using GMT # Hide
42-
G = gmtread("@earth_relief_01s", region=(-114.14,-111.28,35.50,37.06)); # Hide
42+
G = gmtread("@earth_relief_01s_g", region=(-114.14,-111.28,35.50,37.06)); # Hide
4343
lelandshade(G, color=true, colorbar=true, show=true)
4444
```
4545
\end{examplefig}
@@ -50,7 +50,7 @@ approximatelly the same area in the figure. We do that using the `equalize=true`
5050
\begin{examplefig}{}
5151
```julia
5252
using GMT # Hide
53-
G = gmtread("@earth_relief_01s", region=(-114.14,-111.28,35.50,37.06)); # Hide
53+
G = gmtread("@earth_relief_01s_g", region=(-114.14,-111.28,35.50,37.06)); # Hide
5454
lelandshade(G, color=true, equalize=true, colorbar=true, show=true)
5555
```
5656
\end{examplefig}
@@ -68,7 +68,7 @@ transparency in the mixture. And for better appreciate it we will use grayscale
6868
\begin{examplefig}{}
6969
```julia
7070
using GMT # Hide
71-
G = gmtread("@earth_relief_01s", region=(-112.06, -111.60, 35.97, 36.25));
71+
G = gmtread("@earth_relief_01s_g", region=(-112.06, -111.60, 35.97, 36.25));
7272
lelandshade(G, transparency=0.0, title="0 % texture shading", par=(FONT_TITLE=10,), show=true)
7373
```
7474
\end{examplefig}
@@ -77,7 +77,7 @@ lelandshade(G, transparency=0.0, title="0 % texture shading", par=(FONT_TITLE=10
7777
\begin{examplefig}{}
7878
```julia
7979
using GMT # Hide
80-
G = gmtread("@earth_relief_01s", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
80+
G = gmtread("@earth_relief_01s_g", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
8181
lelandshade(G, transparency=0.3, title="30 % texture shading", par=(FONT_TITLE=10,), show=true)
8282
```
8383
\end{examplefig}
@@ -86,7 +86,7 @@ lelandshade(G, transparency=0.3, title="30 % texture shading", par=(FONT_TITLE=1
8686
\begin{examplefig}{}
8787
```julia
8888
using GMT # Hide
89-
G = gmtread("@earth_relief_01s", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
89+
G = gmtread("@earth_relief_01s_g", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
9090
lelandshade(G, transparency=0.6, title="60 % texture shading", par=(FONT_TITLE=10,), show=true)
9191
```
9292
\end{examplefig}
@@ -95,7 +95,7 @@ lelandshade(G, transparency=0.6, title="60 % texture shading", par=(FONT_TITLE=1
9595
\begin{examplefig}{}
9696
```julia
9797
using GMT # Hide
98-
G = gmtread("@earth_relief_01s", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
98+
G = gmtread("@earth_relief_01s_g", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
9999
lelandshade(G, transparency=0.8, title="80 % texture shading", par=(FONT_TITLE=10,), show=true)
100100
```
101101
\end{examplefig}
@@ -104,7 +104,7 @@ lelandshade(G, transparency=0.8, title="80 % texture shading", par=(FONT_TITLE=1
104104
\begin{examplefig}{}
105105
```julia
106106
using GMT # Hide
107-
G = gmtread("@earth_relief_01s", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
107+
G = gmtread("@earth_relief_01s_g", region=(-112.06, -111.60, 35.97, 36.25)); # Hide
108108
lelandshade(G, transparency=1.0, title="100 % texture shading", par=(FONT_TITLE=10,), show=true)
109109
```
110110
\end{examplefig}

0 commit comments

Comments
 (0)