A DrawingFrame that displays a FFT as its drawable. @param xlabel String @param ylabel String @param title String
(String xlabel, String ylabel, String title)
| 54 | * @param title String |
| 55 | */ |
| 56 | public FFTFrame(String xlabel, String ylabel, String title) { |
| 57 | super(new PlottingPanel(xlabel, ylabel, null)); |
| 58 | complexDataset.setMarkerShape(ComplexDataset.PHASE_POST); |
| 59 | complexDataset.setXYColumnNames(xlabel, "re", "im"); //$NON-NLS-1$ //$NON-NLS-2$ |
| 60 | drawingPanel.addDrawable(complexDataset); |
| 61 | setTitle(title); |
| 62 | dataTable.add(complexDataset.model); |
| 63 | addMenuItems(); |
| 64 | setAnimated(true); |
| 65 | setAutoclear(true); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Adds Views menu items on the menu bar. |
nothing calls this directly
no test coverage detected