Skip to content

Commit

Permalink
r.grow.distance manual: set color table in example
Browse files Browse the repository at this point in the history
After change to the `viridis` color table as the default, here the `rainbow` color table must be set explicitly in order to reproduce the example.
  • Loading branch information
neteler committed Dec 9, 2019
1 parent 6746ad3 commit 902acaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raster/r.grow.distance/r.grow.distance.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ <h3>Distance from the streams network</h3>
<div class="code"><pre>
g.region raster=streams_derived -p
r.grow.distance input=streams_derived distance=dist_from_streams
r.colors map=dist_from_streams color=rainbow
</pre></div>

<div align="center" style="margin: 10px">
Expand All @@ -90,6 +91,7 @@ <h3>Distance from sea in meters in latitude-longitude location</h3>
<div class="code"><pre>
g.region raster=sea -p
r.grow.distance -m input=sea distance=dist_from_sea_geodetic metric=geodesic
r.colors map=dist_from_sea_geodetic color=rainbow
</pre></div>

<p>
Expand Down

0 comments on commit 902acaa

Please sign in to comment.