From ffb75f95f3d64dde818c056adcb6a64e51f5147b Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 12 Aug 2001 12:31:38 +0000
Subject: [PATCH] *** empty log message ***

---
 tutorial/t9.geo        | 13 +++++++------
 tutorial/tutorial.html | 19 +++++++++++--------
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/tutorial/t9.geo b/tutorial/t9.geo
index 21d51796fd..b038d3b9d5 100644
--- a/tutorial/t9.geo
+++ b/tutorial/t9.geo
@@ -8,12 +8,11 @@
 
 // Plugins can be added to Gmsh in order to extend its
 // capabilities. For example, post-processing plugins can modify a
-// view, or create a new view based on previously loaded views. Three
-// default plugins are available at the time of writing: CutMap,
-// CutPlane and CutSphere. These plugins are just examples of how
-// plugins (will) work.
+// view, or create a new view based on previously loaded
+// views. Several default plugins are statically linked into Gmsh,
+// e.g. CutMap, CutPlane, CutSphere, Skin, Transform or Smooth.
 
-// Let's load a three dimension scalar view
+// Let's load a three-dimensional scalar view
 
 Include "view3.pos" ;
 
@@ -24,13 +23,15 @@ Include "view3.pos" ;
 // the command file, as is shown below.
 
 // This sets the optional parameter A of the CutMap plugin to the
-// value 0.34 (see the About in the graphical interface for the
+// value 0.67 (see the About in the graphical interface for the
 // documentation of each plugin), and runs the plugin:
 
 Plugin(CutMap).A = 0.67 ; 
 Plugin(CutMap).iView = 0 ; //select View[0] as the working view
 Plugin(CutMap).Run ; 
 
+// The following runs the CutPlane plugin:
+
 Plugin(CutPlane).A = 0 ; 
 Plugin(CutPlane).B = 0.2 ; 
 Plugin(CutPlane).C = 1 ; 
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html
index ee6a15c059..26551762a2 100644
--- a/tutorial/tutorial.html
+++ b/tutorial/tutorial.html
@@ -23,7 +23,7 @@
 <H1>README 1/10</H1>
 [<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>]
 <PRE>
-$Id: tutorial.html,v 1.17 2001-08-04 01:17:28 geuzaine Exp $
+$Id: tutorial.html,v 1.18 2001-08-12 12:31:38 geuzaine Exp $
 
 Here are the examples in the Gmsh tutorial. These examples are
 commented (both C and C++-style comments can be used in Gmsh input
@@ -1160,12 +1160,11 @@ EndFor
 
 <I><FONT COLOR="#B22222">// Plugins can be added to Gmsh in order to extend its
 </FONT></I><I><FONT COLOR="#B22222">// capabilities. For example, post-processing plugins can modify a
-</FONT></I><I><FONT COLOR="#B22222">// view, or create a new view based on previously loaded views. Three
-</FONT></I><I><FONT COLOR="#B22222">// default plugins are available at the time of writing: CutMap,
-</FONT></I><I><FONT COLOR="#B22222">// CutPlane and CutSphere. These plugins are just examples of how
-</FONT></I><I><FONT COLOR="#B22222">// plugins (will) work.
+</FONT></I><I><FONT COLOR="#B22222">// view, or create a new view based on previously loaded
+</FONT></I><I><FONT COLOR="#B22222">// views. Several default plugins are statically linked into Gmsh,
+</FONT></I><I><FONT COLOR="#B22222">// e.g. CutMap, CutPlane, CutSphere, Skin, Transform or Smooth.
 </FONT></I>
-<I><FONT COLOR="#B22222">// Let's load a three dimension scalar view
+<I><FONT COLOR="#B22222">// Let's load a three-dimensional scalar view
 </FONT></I>
 Include &quot;view3.pos&quot; ;
 
@@ -1176,12 +1175,15 @@ Include &quot;view3.pos&quot; ;
 </FONT></I><I><FONT COLOR="#B22222">// the command file, as is shown below.
 </FONT></I>
 <I><FONT COLOR="#B22222">// This sets the optional parameter A of the CutMap plugin to the
-</FONT></I><I><FONT COLOR="#B22222">// value 0.34 (see the About in the graphical interface for the
+</FONT></I><I><FONT COLOR="#B22222">// value 0.67 (see the About in the graphical interface for the
 </FONT></I><I><FONT COLOR="#B22222">// documentation of each plugin), and runs the plugin:
 </FONT></I>
 Plugin(CutMap).A = 0.67 ; 
-Plugin(CutMap).Run ; 
+Plugin(CutMap).iView = 0 ; <I><FONT COLOR="#B22222">//select View[0] as the working view
+</FONT></I>Plugin(CutMap).Run ; 
 
+<I><FONT COLOR="#B22222">// The following runs the CutPlane plugin:
+</FONT></I>
 Plugin(CutPlane).A = 0 ; 
 Plugin(CutPlane).B = 0.2 ; 
 Plugin(CutPlane).C = 1 ; 
@@ -1196,6 +1198,7 @@ View[0].SmoothNormals = 1;
 View[1].IntervalsType = 2;
 
 View[2].IntervalsType = 2;
+Draw;
 </PRE>
 <HR>
 <ADDRESS>Generated by <A HREF="http://www.iki.fi/~mtr/genscript/">GNU enscript 1.6.1</A>.</ADDRESS>
-- 
GitLab