// double[] intensities, double[] retentionTimes, double resolution)
ChromatographicPeak shapePeak = (ChromatographicPeak) shapeModelConstruct
.newInstance(previewPeak, scanNumbers, intensities,
retentionTimes, resolution);
PeakDataSet peakDataSet = new PeakDataSet(shapePeak);
ticPlot.addPeakDataset(peakDataSet);
ticDataset = new ChromatogramTICDataSet(previewRow.getPeaks()[0]);
ticPlot.addTICDataset(ticDataset);