When importing data with the data wizard and selecting both XY plots + power spectra, only one spectrum is shown. There should be one for each curve. It seems they are all computed, but only one plot is created. Reproducible: Always Steps to Reproduce: 1. From the usual netCDF sample at http://www.unidata.ucar.edu/software/netcdf/examples/GOTEX.C130_N130AR.LRT.RF06.PNI.nc load the first non-time 4 vectors (ADIFR etc) against time_offset as X 2. Select both "Create XY Plots" and "Create Spectra Plots" 3. Select "XY and spectra in separate new tabs" 4. Finish Actual Results: The second tab created contains only one plot, however the data wizard shows that all 4 spectra are computed. Only the plots are missing. Strangely, the generated plot occupies only a small portion of the tab... In fact, if you hit "Cleanup layout" you get the 4 plots so it seems to be only a layout problem Expected Results: All power spectra should be shown, with the same layout options as the XY plots (which is not the case currently if you "Cleanup layout" afterwards. This used to work, there is a regression there.
This comment is almost another bug report, but I'm too lazy... When vectors provide their own units, it is kind of sad that they are overriden by the values given in the datawizard for power spectra. There should be an option "Deduce unit from vector".
SVN commit 1299898 by netterfield: Also format the spectrum page from the the data wizard. M +3 -0 datawizard.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1299898
Well done :-) I knew it was in DataWizard::finished() but after staring at the source for a few minutes I was still quite confused as to what was wrong. We can't say that this portion of code is very readable... But at least now it's solved!