I would like to plot vertical stick on my graph.
I tried according to the documentation:
Qt Code:
  1. plotEnergy = new QwtPlotCurve();
  2. plotEnergy->attach(this);
  3. plotEnergy->setStyle(QwtPlotCurve::Sticks);
  4. plotEnergy->setBaseline(0);
  5. plotEnergy->setPen(QPen(Qt::black));
  6. plotEnergy->setBrush(QBrush(Qt::Dense7Pattern));
To copy to clipboard, switch view to plain text mode 
But nothing: the plot still is plotted with lines