瀏覽代碼

g.gui.animation manual: added example with extended regular expressions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58251 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 年之前
父節點
當前提交
c83edbdf87
共有 1 個文件被更改,包括 15 次插入2 次删除
  1. 15 2
      gui/wxpython/animation/g.gui.animation.html

+ 15 - 2
gui/wxpython/animation/g.gui.animation.html

@@ -46,12 +46,25 @@ and then reload the maps to update the animation.
 
 <h2>EXAMPLES</h2>
 
+<div class="code"><pre>
+g.gui.animation rast=rmap1,rmap2,rmap3
+
+g.gui.animation vect=vmap1,vmap2,vmap3
+</pre></div>
 
-Load a series of raster maps into the Animation Tool:
+The loading of a series of maps into the Animation Tool can be simplified
+with <em>g.mlist</em>:
 <div class="code"><pre>
-g.gui.animation rast=`g.mlist type=rast mapset=. sep=comma pattern="precip*"`
+g.gui.animation rast=`g.mlist type=rast mapset=. separator=comma pattern="precip*"`
 </pre></div>
 
+Using extended regular expressions, the list of a series of raster maps can be subset by
+e.g., numeric range (here: precipitation for the years 1997-2012):
+<div class="code"><pre>
+g.gui.animation rast=`g.mlist -e type=rast mapset=. separator=comma pattern="precip_total.(199[7-9]|200[0-9]|201[0-2]).sum"`
+</pre></div>
+
+
 <h2>TODO</h2>
 <ul>
   <li>export animation</li>