[GRASS-SVN] r63402 - grass/trunk/raster/r.surf.fractal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 6 10:27:46 PST 2014
Author: wenzeslaus
Date: 2014-12-06 10:27:46 -0800 (Sat, 06 Dec 2014)
New Revision: 63402
Added:
grass/trunk/raster/r.surf.fractal/r_surf_fractal_simple.png
Modified:
grass/trunk/raster/r.surf.fractal/r.surf.fractal.html
Log:
r.surf.fractal: add simple example to manual (the existing is too complicated to be the only example)
Modified: grass/trunk/raster/r.surf.fractal/r.surf.fractal.html
===================================================================
--- grass/trunk/raster/r.surf.fractal/r.surf.fractal.html 2014-12-06 17:43:22 UTC (rev 63401)
+++ grass/trunk/raster/r.surf.fractal/r.surf.fractal.html 2014-12-06 18:27:46 UTC (rev 63402)
@@ -15,7 +15,36 @@
<h2>EXAMPLE</h2>
+Generate surface using fractals in selected region, set color table and
+display with shade.
+
<div class="code"><pre>
+g.region rast=elevation
+
+r.surf.fractal output=fractals
+
+r.colors map=fractals color=byr
+r.relief input=fractals output=fractals_shade
+
+d.mon wx0
+d.shade relief=fractals_shade drape=fractals b=50
+</pre></div>
+
+<center>
+<img src="r_surf_fractal_simple.png" alt="Artificial surface created with fractals"><br>
+Artificial surface created with fractals<br>
+</center>
+
+<!--
+# leave out d.mon wx0 when generating image
+mogrify -trim map.png
+optipng -o5 map.png
+mv map.png r_surf_fractal_simple.png
+-->
+
+Compare results when using different fractal dimensions:
+
+<div class="code"><pre>
# D=2.0005
g.region -dp
r.surf.fractal out=dem_d2_0005 dim=2.0005
Added: grass/trunk/raster/r.surf.fractal/r_surf_fractal_simple.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/raster/r.surf.fractal/r_surf_fractal_simple.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
More information about the grass-commit
mailing list