public void setAllPlotAreaRange() {
		queryPlot.setIntensityRange(PeakPanel.INTENSITY_MAX);
		compPlot.setIntensityRange(PeakPanel.INTENSITY_MAX);
		resultPlot.setIntensityRange(PeakPanel.INTENSITY_MAX);
		PeakData qPeak = queryPlot.getPeaks(0);
		PeakData rPeak = resultPlot.getPeaks(0);
		if (qPeak == null && rPeak == null)
			return;
		double qMax = 0d;
		double rMax = 0d;
		if (qPeak != null)
			qMax = qPeak.compMaxMzPrecusor(queryPlot.getPrecursor());
		if (rPeak != null)
			rMax = rPeak.compMaxMzPrecusor(resultPlot.getPrecursor());
		if (qMax > rMax) {
			queryPlot.setPeaks(null, -1);
			setAllPlotAreaRange(queryPlot);
		} else {
			resultPlot.setPeaks(null, -1);
			setAllPlotAreaRange(resultPlot);
		}
	}