View Full Version : is It possible that a plot has both log and linear scales?
lwz
18th March 2014, 04:09
My application demands that if a curve is set log style , and it displays in a log scale way ,while another is set linear which should be displayed in linear scale.
Does anybody have good suggestion?
Uwe
18th March 2014, 05:35
Assuming you are talking about y axes: put a logarithmic scale to the left and a linear to the right. Then:
curve1->setYAxis( QwtPlot::yLeft );
curve2->setYAxis( QwtPlot::yRight );Uwe
lwz
21st March 2014, 02:44
Uwe ,Thank you, that's a great help.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.