/** * Sets the y axis to linear or logarithmic. * * @param isLog true for log scale; false otherwise */ public void setYLog(boolean isLog) { ylog = isLog; // Added by Paco if (isLog) { yaxis.setAxisType(XYAxis.LOG10); } else { yaxis.setAxisType(XYAxis.LINEAR); } }