title: How to Customize jzy3d Chart
body: <p>I'm using <code>org.jzy3d</code> package (v 0.9) to create <code>Surface plots</code>.
  Here's my code:</p>
  
  <pre><code>int stepsX = 6;
  Range rX = new Range(1,6);
  int stepsY = 7;
  Range rY = new Range(0,6);
  
  Mapper mapper = new Mapper(){
      @Override
      public double f(double x, double y) {
          return //My function to get z;
      }
  };
  
  org.jzy3d.plot3d.primitives.Shape surface = Builder.buildOrthonormal(new OrthonormalGrid(rX, stepsX, rY, stepsY), mapper);
  surface.setColorMapper(new ColorMapper(new ColorMapRainbow(), surface.getBounds().getZmin(), surface.getBounds().getZmax(), new org.jzy3d.colors.Color(1, 1, 1, .5f)));
  surface.setFaceDisplayed(true);
  surface.setWireframeDisplayed(false);
  
  org.jzy3d.chart.Chart chart = new org.jzy3d.chart.Chart(Quality.Advanced,"swing");
  chart.getScene().getGraph().add(surface);
  
  IAxeLayout l = chart.getAxeLayout();
  l.setXAxeLabel("Observation");
  l.setYAxeLabel("Week");
  l.setZAxeLabel("Rate");
  l.setMainColor(org.jzy3d.colors.Color.GRAY);
  
  JPanel p = new JPanel(new BorderLayout()); //another panel will be added to this panel and aligned left (BorderLayout.WEST)
  p.add((JPanel)chart.getCanvas(),BorderLayout.CENTER);
  </code></pre>
  
  <p>... and this is what I get:</p>
  
  <p><a href="https://i.stack.imgur.com/gam6h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gam6h.png" alt="enter image description here"></a></p>
  
  <p>I'd like to customize this chart further, but I really cannot figure out how.</p>
  
  <p>In particular I'd like to:</p>
  
  <ul>
  <li><p>Zoom out the chart to fit my panel (in the attached picture you can see that the bottom of the chart is not visible);</p></li>
  <li><p>Format axis labels (e.g. 0.6 displayed instead of 0.600000 for z axis, 2 displayed instead of 2.000 for x axis and so on...);</p></li>
  <li><p>Invert color mapping (e.g. red when z value is lower, blue/green when z value is higher).</p></li>
  </ul>