PDA

View Full Version : Is there anyway to put axis into plot?



momo
11th February 2015, 02:38
Hello everyone,

I want to draw the axis into plot(the schematic diagram is attached), is there anyone can help me to solve this problem?

Best regards

Momo

Uwe
11th February 2015, 07:15
You can use QwtPlotScaleItem. I can imagine that you like to disable its backbone ( QwtAbstractScaleDraw::enableComponent( QwtAbstractScaleDraw::Backbone, false ) ) as your scale needs to be attached to the right border.

Uwe

momo
11th February 2015, 07:43
Problem solved! Thank you Uwe!

Best regards

Momo