if (height < 24) height = 24;
if (height > 10000) height = 10000;
final RasterPlotter.DrawMode drawMode = (RasterPlotter.darkColor(color_back)) ? RasterPlotter.DrawMode.MODE_ADD : RasterPlotter.DrawMode.MODE_SUB;
final HexGridPlotter picture = new HexGridPlotter(width, height, drawMode, color_back, cellsize);
picture.drawGrid(color_grid);
// calculate dimensions for left and right column
final int gridLeft = 0;
int gridRight = picture.gridWidth() - 2;
if ((gridRight & 1) == 0) gridRight--;