@@ -0,0 +1,1003 @@
+package de.lmu.ifi.dbs.elki.visualization.colors;%0A%0Aimport org.apache.batik.util.SVGConstants;%0A%0A/**%0A * Simple color library using a few grey values for printing.%0A * %0A * @author Erich Schubert%0A */%0Apublic class GreyscaleColorLibrary implements ColorLibrary %7B%0A  /**%0A   * A few gray values.%0A   */%0A  private static String%5B%5D colors = %7B%0A    // black%0A    SVGConstants.CSS_BLACK_VALUE,%0A    // gray - 80 = 50%25 white%0A    SVGConstants.CSS_GRAY_VALUE,%0A    // silver - C0 = 75%25 white%0A    SVGConstants.CSS_SILVER_VALUE,%0A    // dim gray - 69 = 41%25 white%0A    SVGConstants.CSS_DIMGRAY_VALUE,%0A    // dark gray - A9 = 66%25 white%0A    SVGConstants.CSS_DARKGRAY_VALUE,%0A    /* TOO BRIGHT: */%0A    // light gray - D3 = 82%25 white%0A    /* SVGConstants.CSS_LIGHTGRAY_VALUE, */%0A    // white - FF = 100%25 white%0A    /* SVGConstants.CSS_WHITE_VALUE */%0A  %7D;%0A%0A  @Override%0A  public String getColor(int index) %7B%0A    return colors%5Bindex %25 colors.length%5D;%0A  %7D%0A%0A  @Override%0A  public int getNumberOfNativeColors() %7B%0A    return colors.length;%0A  %7D%0A%7D%0A

Add a greyscale color set.