tuse BW colorscale for force chain visualization - sphere - GPU-based 3D discre… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 0667a72d4ef1271f149d90b2621678cd9d42b8ed | |
parent 53ebe460d5a88ab9eb12115197c0ca687da5c0f2 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/src/sphere.cpp b/src/sphere.cpp | |
t@@ -721,7 +721,13 @@ void DEM::forcechains(const std::string format, const int… | |
<< "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… | |
+ | |
+ // MATLAB style jet colorscale | |
+ //<< "set palette defined ( 1 '#000fff', 2 '#0090ff', 3 '#0fffee',… | |
+ | |
+ // Light gray to black | |
+ << "set palette defined ( 1 '#999999', 2 '#000000')\n" | |
+ | |
//<< "set cbrange [" << f_n_max*lim_low << ':' << f_n_max*lim_high… | |
<< "set cbrange [" << lower_cutoff << ':' << upper_cutoff << "]\n" | |
<< endl; |