Bug 272426

Summary: "Show point" and "Bargraph" options not working
Product: [Applications] kst Reporter: Roberto Peron <roberto.peron>
Component: plottingAssignee: kst
Status: RESOLVED NOT A BUG    
Severity: normal CC: roberto.peron
Priority: NOR    
Version: 2.0.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roberto Peron 2011-05-04 11:09:33 UTC
Version:           2.0.3
OS:                Linux

When doing a plot, the "Show point" and "Bargraph" options in the "Appearance" part of "Edit Curve" are not effective (i.e., the plot is not drawn) unless the "Show lines" option is selected at the same time.

Reproducible: Always

Steps to Reproduce:
Import a two-column data file and plot Column1 vs Column 2.

Actual Results:  
Selecting "Show point" or "Bargraph" as Appearance options, the plot is not drawn.

Expected Results:  
The plot being drawn.

OS: Linux, Ubuntu 11.04

Log

 mer mag 4 11:05:00 2011 Scanning for data-object plugins.
 mer mag 4 11:05:00 2011 Scanning for data-object plugins.
 mer mag 4 11:05:00 2011 Plugin Search Pathes:
 mer mag 4 11:05:00 2011 -> /usr/plugins
 mer mag 4 11:05:00 2011 -> /usr/lib/kst2/plugins
 mer mag 4 11:05:00 2011 -> //lib/kst2/plugins/Release
 mer mag 4 11:05:00 2011 -> //lib/kst2/plugins/Debug
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_bin.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_chop.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_convolution_convolve.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_convolution_deconvolve.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_correlation_autocorrelation.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_correlation_crosscorrelation.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_crossspectrum.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_differentiation.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_effectivebandwidth.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_genericfilter.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_akima.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_akimaperiodic.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_cspline.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_csplineperiodic.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_linear.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_interpolations_polynomial.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_linefit.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_lockin.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_noiseaddition.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_periodogram.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_phase.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_shift.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_statistics.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_dataobject_syncbin.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_butterworth_bandpass.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_butterworth_bandstop.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_butterworth_highpass.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_butterworth_lowpass.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_cumulativesum.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_despike.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_filters_differentiation.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_exponential_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_exponential_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_gaussian_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_gaussian_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_gradient_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_gradient_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_kneefrequency.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_linear_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_linear_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_lorentzian_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_lorentzian_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_polynomial_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_polynomial_weighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_sinusoid_unweighted.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_fits_sinusoid_weighted.so
 mer mag 4 11:05:00 2011 Scanning for data-source plugins.
 mer mag 4 11:05:00 2011 Plugin Search Pathes:
 mer mag 4 11:05:00 2011 -> /usr/plugins
 mer mag 4 11:05:00 2011 -> /usr/lib/kst2/plugins
 mer mag 4 11:05:00 2011 -> //lib/kst2/plugins/Release
 mer mag 4 11:05:00 2011 -> //lib/kst2/plugins/Debug
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_datasource_ascii.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_datasource_dirfilesource.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_datasource_fitsimage.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_datasource_qimagesource.so
 mer mag 4 11:05:00 2011 Plugin loaded: libkst2_datasource_sampledatasource.so
 mer mag 4 11:05:04 2011 Timing: 0.000476694 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:16 2011 Timing: 9.145e-05 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:16 2011 Timing: 0.00011106 sec, Scope: AsciiSource::readField: whitespace separated columns
 mer mag 4 11:05:16 2011 Timing: 7.6032e-05 sec, Scope: AsciiSource::readField: whitespace separated columns
 mer mag 4 11:05:16 2011 Timing: 0.000111845 sec, Scope: AsciiSource::readField: whitespace separated columns
 mer mag 4 11:05:28 2011 Timing: 0.000101248 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:32 2011 Timing: 8.4829e-05 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:34 2011 Timing: 0.000104544 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:38 2011 Timing: 0.000102023 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:42 2011 Timing: 0.000126314 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:50 2011 Timing: 0.000104678 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:52 2011 Timing: 0.00010074 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:54 2011 Timing: 0.000101246 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:05:58 2011 Timing: 9.4292e-05 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:06:01 2011 Timing: 0.000102155 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:06:04 2011 Timing: 0.000101556 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:06:06 2011 Timing: 8.4906e-05 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:06:09 2011 Timing: 0.000124201 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:14:13 2011 Timing: 0.000109076 sec, Scope: AsciiSource::internalDataSourceUpdate
 mer mag 4 11:14:17 2011 Timing: 0.000121728 sec, Scope: AsciiSource::internalDataSourceUpdate
Comment 1 Nicolas Brisset 2011-05-04 11:24:05 UTC
Could you attach a small test case? I have just tried it here, and it seems to work. 
However, as far as I know, the point density option is not honored when lines are not shown (i.e. all points are plotted if you don't plot lines, regardless of what the greyed-out point density combobox indicates). This is a feature, as plotting only some points does not make real sense if there is no line going through all points.
Comment 2 Roberto Peron 2011-05-04 16:25:05 UTC
Bug closed as "INVALID". The problem was raised due to a not proper interpretation the way Kst handles the comment indicators. Contrary to my assumptions, the data start line must be explicitly indicated in the configure dialog.