tcolorscale white to black - 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 b0c3fb589061c6fcf45732d04f7a3f57af798a30
(DIR) parent 0667a72d4ef1271f149d90b2621678cd9d42b8ed
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 24 Sep 2014 10:18:01 +0200
colorscale white to black
Diffstat:
M src/sphere.cpp | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/sphere.cpp b/src/sphere.cpp
t@@ -726,6 +726,9 @@ void DEM::forcechains(const std::string format, const int threedim,
//<< "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"
+
+ // White to black (useful when using lc = 0)
<< "set palette defined ( 1 '#999999', 2 '#000000')\n"
//<< "set cbrange [" << f_n_max*lim_low << ':' << f_n_max*lim_high << "]\n"