tuse BW colorscale for force chain visualization - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 0667a72d4ef1271f149d90b2621678cd9d42b8ed
 (DIR) parent 53ebe460d5a88ab9eb12115197c0ca687da5c0f2
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 24 Sep 2014 10:15:52 +0200
       
       use BW colorscale for force chain visualization
       
       Diffstat:
         M src/sphere.cpp                      |       8 +++++++-
       
       1 file changed, 7 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/sphere.cpp b/src/sphere.cpp
       t@@ -721,7 +721,13 @@ void DEM::forcechains(const std::string format, const int threedim,
                    << "set view 90.0,0.0\n"
                    //<< "set palette defined (0 'gray', 0.5 'blue', 1 'red')\n"
                    //<< "set palette defined (0 'white', 0.5 'gray', 1 'red')\n"
       -            << "set palette defined ( 1 '#000fff', 2 '#0090ff', 3 '#0fffee', 4 '#90ff70', 5 '#ffee00', 6 '#ff7000', 7 '#ee0000', 8 '#7f0000')\n"
       +
       +            // MATLAB style jet colorscale
       +            //<< "set palette defined ( 1 '#000fff', 2 '#0090ff', 3 '#0fffee', 4 '#90ff70', 5 '#ffee00', 6 '#ff7000', 7 '#ee0000', 8 '#7f0000')\n"
       +
       +            // Light gray to black
       +            << "set palette defined ( 1 '#999999', 2 '#000000')\n"
       +
                    //<< "set cbrange [" << f_n_max*lim_low << ':' << f_n_max*lim_high << "]\n"
                    << "set cbrange [" << lower_cutoff << ':' << upper_cutoff << "]\n"
                    << endl;