Revision: 65230
          http://sourceforge.net/p/brlcad/code/65230
Author:   carlmoore
Date:     2015-06-09 18:41:26 +0000 (Tue, 09 Jun 2015)
Log Message:
-----------
Provide better explanation for the last example; and I was able to come up with 
commands to provide this particular input .bw file

Modified Paths:
--------------
    brlcad/trunk/doc/docbook/system/man1/en/bwmod.xml

Modified: brlcad/trunk/doc/docbook/system/man1/en/bwmod.xml
===================================================================
--- brlcad/trunk/doc/docbook/system/man1/en/bwmod.xml   2015-06-09 17:53:36 UTC 
(rev 65229)
+++ brlcad/trunk/doc/docbook/system/man1/en/bwmod.xml   2015-06-09 18:41:26 UTC 
(rev 65230)
@@ -141,11 +141,19 @@
 <userinput>bwmod -s100 -m1.409 -a100 &lt; file.bw &gt; file2.bw</userinput>
 </para>
 <para>
-where 1.409 results from (255-100)/(210-100) which is what one would use
-by boost the max value (210) to full scale (255) after subtracting the
-mean (100).  Subtracting and adding 100 make the multiply occur
-"about that point", i.e. value less than 100 will get smaller; those
-above, higher.</para>
+where 1.409 results from (255.0-100.0)/(210.0-100.0), which is what one would 
use
+to boost the max value (210) to full scale (255) after subtracting the
+mean (100).  Subtracting and adding 100 makes the multiply occur
+"about that point"; i.e., values less than 100 get smaller, and those
+above get higher.  A <replaceable>file.bw</replaceable> for this example can 
be created with these three command lines:</para>
+<para>
+<!-- .br -->
+<userinput>gencolor -r 11 80 &gt;file.bw</userinput>
+<!-- .br -->
+<userinput>gencolor -r 262131 100 &gt;&gt;file.bw</userinput>
+<!-- .br -->
+<userinput>gencolor -r 2 210 &gt;&gt;file.bw</userinput>
+</para>
 </refsect1>
 
 <refsect1 xml:id='see_also'><title>SEE ALSO</title>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to