giusepped
10th February 2009, 07:19
I would like to plot vertical stick on my graph.
I tried according to the documentation:
plotEnergy = new QwtPlotCurve();
plotEnergy->attach(this);
plotEnergy->setStyle(QwtPlotCurve::Sticks);
plotEnergy->setBaseline(0);
plotEnergy->setPen(QPen(Qt::black));
plotEnergy->setBrush(QBrush(Qt::Dense7Pattern));
But nothing: the plot still is plotted with lines :confused:
I tried according to the documentation:
plotEnergy = new QwtPlotCurve();
plotEnergy->attach(this);
plotEnergy->setStyle(QwtPlotCurve::Sticks);
plotEnergy->setBaseline(0);
plotEnergy->setPen(QPen(Qt::black));
plotEnergy->setBrush(QBrush(Qt::Dense7Pattern));
But nothing: the plot still is plotted with lines :confused: