Example #1
0
 /**
  * Configures the color bar.
  *
  * @param plot the plot.
  */
 public void configure(ContourPlot plot) {
   double minZ = plot.getDataset().getMinZValue();
   double maxZ = plot.getDataset().getMaxZValue();
   setMinimumValue(minZ);
   setMaximumValue(maxZ);
 }