Hi,
for a performance evaluation I was plotting the same data, with
customPlot->graph( 0 )->setScatterStyle( QCPScatterStyle( QCPScatterStyle::ssCircle, 1 ) );
and
customPlot->graph( 0 )->setScatterStyle( QCPScatterStyle( QCPScatterStyle::ssDot, 1 ) );
both with
customPlot->graph( 0 )->setAdaptiveSampling( false );
The graph with ssCircle
looks good, and is a bit slothy, but that was expected, while the graph with ssDot
is faster, which was also expected, but the graph looks way too thin (not expected) and the data changes appearance while resizing (not expected).
The right images are after a minimal change of width. The top is ssDot, the bottom is ssCircle. As you can see, there is a visible difference between the top two. Am I doing something wrong, is this a bug, or is this possibly even the intended behavior?
Data is just a normal distribution:
std::normal_distribution<> d{5, 2}; int const num = 100000; QVector<double> x0,y0; x0.resize( num ); y0.resize( num ); for( int n = 0; n < num; ++n ) { x0[n] = d( gen ); y0[n] = d( gen ); };