package uk.ac.leeds.ccg.cluster; import java.awt.*; import uk.ac.leeds.ccg.geotools.*; public class MyMonoShader extends MonoShader{ Color c; Color missingColor=Color.white; double missingCode=0.0; public MyMonoShader(){ this(Color.gray); } public MyMonoShader(Color c){ super(c); this.c=c; } public Color getColor(double value){ if(value==missingCode){ return missingColor; }else{ return c; } } }