cp
12th September 2013, 09:45
hi,
I have some questions about the QwtLinearScaleEngine,QwtLogScaleEngine,QwtTransfor m.I don't the relationship among those class clearly.I show some code to describe my question.
Fist code :
QwtLinearScaleEngine *logSE=new QwtLinearScaleEngine();
logSE->setTransformation(new QwtLogTransform());
plot->setAxisScaleEngine(QwtPlot::xTop,logSE);
second code:
QwtLogScaleEngine *logSE=new QwtLogScaleEngine();
plot->setAxisScaleEngine(QwtPlot::xTop,logSE);
why are the results different?what is the difference between the two methods?I don't understand.
Thanks in advance!
I have some questions about the QwtLinearScaleEngine,QwtLogScaleEngine,QwtTransfor m.I don't the relationship among those class clearly.I show some code to describe my question.
Fist code :
QwtLinearScaleEngine *logSE=new QwtLinearScaleEngine();
logSE->setTransformation(new QwtLogTransform());
plot->setAxisScaleEngine(QwtPlot::xTop,logSE);
second code:
QwtLogScaleEngine *logSE=new QwtLogScaleEngine();
plot->setAxisScaleEngine(QwtPlot::xTop,logSE);
why are the results different?what is the difference between the two methods?I don't understand.
Thanks in advance!