浏览代码

r.grow.distance manual: set color table in example

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.
Markus Neteler 5 年之前
父节点
当前提交
902acaa18f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      raster/r.grow.distance/r.grow.distance.html

+ 2 - 0
raster/r.grow.distance/r.grow.distance.html

@@ -72,6 +72,7 @@ North Carolina sample dataset:
 <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">
@@ -90,6 +91,7 @@ r.grow.distance input=streams_derived distance=dist_from_streams
 <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>