本文整理汇总了C++中setAxisScale函数的典型用法代码示例。如果您正苦于以下问题:C++ setAxisScale函数的具体用法?C++ setAxisScale怎么用?C++ setAxisScale使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了setAxisScale函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: DataPlot
//changing to angle x comparison plot
FsrPlot::FsrPlot(QWidget *parent)
: DataPlot(parent) {
for (int i = 0; i < PLOT_SIZE; ++i)
data_r2[i] = data_l[i] = data_r[i] = data_t[i] = 0.0;
setTitle("angleX");
QwtPlotCurve *curveL = new QwtPlotCurve("filtered angleX");
curveL->attach(this);
curveL->setRawData(t, data_l, PLOT_SIZE);
curveL->setPen(QPen(Qt::red));
QwtPlotCurve *curveR = new QwtPlotCurve("raw angleX");
curveR->attach(this);
curveR->setRawData(t, data_r, PLOT_SIZE);
curveR->setPen(QPen(Qt::blue));
// QwtPlotCurve *curveR2 = new QwtPlotCurve("Right2");
// curveR2->attach(this);
// curveR2->setRawData(t, data_r2, PLOT_SIZE);
// curveR2->setPen(QPen(Qt::black));
// QwtPlotCurve *curveT = new QwtPlotCurve("Total");
// curveT->attach(this);
// curveT->setRawData(t, data_t, PLOT_SIZE);
setAxisScale(QwtPlot::xBottom, 0, PLOT_SIZE - 1);
setAxisScale(QwtPlot::yLeft, -12, 12);
}
开发者ID:FionaCLin,项目名称:rUNSWift-2015-release,代码行数:29,代码来源:plots.cpp
示例2: QwtPlotSpectrogram
QwtPlotSpectrogram * PlotViewWidget::addSpectrogramData(SpectrogramData *spectrogramData)
{
QwtPlotSpectrogram *spectrogram = new QwtPlotSpectrogram();
spectrogram->setRenderThreadCount( 0 ); // use system specific thread count
QwtLinearColorMap * colorMap = new QwtLinearColorMap(Qt::white, Qt::black);
spectrogram->setColorMap(colorMap);
spectrogram->setCachePolicy( QwtPlotRasterItem::PaintCache );
spectrogram->setData( spectrogramData );
QRectF r = spectrogramData->boundingRect();
setAxisScale( QwtPlot::yLeft , 0, 5000, 1000);
setAxisScale( QwtPlot::yRight , 0, 5000, 1000);
setAxisScale( QwtPlot::xBottom , r.left(), r.right(), 0.1);
spectrogram->setDisplayMode( QwtPlotSpectrogram::ImageMode, true );
spectrogram->setAlpha(100);
maSpectrogramData << spectrogramData;
maSpectrograms << spectrogram;
spectrogram->attach( this );
repaint();
return spectrogram;
}
开发者ID:adamb924,项目名称:AcousticWorkspace,代码行数:27,代码来源:plotviewwidget.cpp
示例3: QwtPlotCurve
void Plot::paste()
{
QLocale l;
QClipboard *clipboard = QApplication::clipboard();
QString text = clipboard->text();
if(!text.isEmpty()) {
QList<QString> items = text.split('\n');
QList<float> values;
for(int i = 0; i < items.count(); i++) {
values.append(l.toFloat(items[i]));
}
this->detachItems();
// Insert new curves
curve = new QwtPlotCurve( "y = sin(x)" );
curve->setRenderHint( QwtPlotItem::RenderAntialiased );
curve->setLegendAttribute( QwtPlotCurve::LegendShowLine, true );
curve->setPen( Qt::red );
curve->attach( this );
Data* data = new Data(&values);
curve->setData(data);
setAxisScale( yLeft, data->yMin, data->yMax);
setAxisScale( xBottom, data->xMin, data->xMax);
QwtPlotGrid* grid = new QwtPlotGrid();
grid->setPen(Qt::black, 0.1, Qt::DashLine);
grid->attach(this);
}
}
开发者ID:volthouse,项目名称:desktop,代码行数:35,代码来源:plot.cpp
示例4: max
//-----------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------
void Plot::redraw(double *x, double *y, int n, QString name)
{
if (n == 1) { // That is, this is the first plotting instance.
yscale = max(yscale,calc_yscale(y[0]));
setAxisScale(QwtPlot::yLeft, 0, yscale, 0);
}
// Note: Number of pen colors should match ncmax
QColor pencolor[] = {Qt::black, Qt::red, Qt::blue, Qt::darkGreen, Qt::magenta, Qt::darkCyan };
QPen *pen = new QPen();
QwtLegend *legend = new QwtLegend();
for (int k=0; k<ncmax; k++) {
if (curve[k] == 0) continue;
if (name.compare(curve[k]->title().text()) == 0) {
// Just in case someone set ncmax > # of pen colors (currently = 6)
if (k < 6) {
pen->setColor(pencolor[k]);
} else {
pen->setColor(pencolor[0]);
}
curve[k]->setPen(*pen);
curve[k]->setData(x, y, n);
this->insertLegend(legend, QwtPlot::RightLegend);
double ylast = y[n-1];
if (ylast > yscale) {
yscale = max(yscale,calc_yscale(ylast));
setAxisScale(QwtPlot::yLeft, 0, yscale, 0);
}
replot();
}
}
delete pen;
}
开发者ID:gibbogle,项目名称:bone-abm,代码行数:34,代码来源:plot.cpp
示例5: QwtPlot
IncrementalPlot::IncrementalPlot( QWidget *parent ):
QwtPlot( parent ),
d_curve( NULL )
{
d_directPainter = new QwtPlotDirectPainter( this );
setCanvasBackground(QColor(Qt::black));
setAxisScale(QwtPlot::yLeft, 0, 1024);
setAxisScale(QwtPlot::xBottom, 0, 5000);
if ( QwtPainter::isX11GraphicsSystem() )
{
#if QT_VERSION < 0x050000
canvas()->setAttribute( Qt::WA_PaintOutsidePaintEvent, true );
#endif
canvas()->setAttribute( Qt::WA_PaintOnScreen, true );
}
d_curve = new QwtPlotCurve( "Test Curve" );
d_curve->setData( new CurveData() );
showSymbols( true );
d_curve->attach( this );
setAutoReplot( false );
}
开发者ID:pasteur90,项目名称:GaitAnalysis,代码行数:26,代码来源:incrementalplot.cpp
示例6: QwtPlot
DataPlotFFT::DataPlotFFT(QWidget *parent):
QwtPlot(parent),
d_data(NULL),
d_curve(NULL)
{
setAutoReplot(false);
setFrameStyle(QFrame::NoFrame);
setLineWidth(0);
setCanvasLineWidth(2);
//plotLayout()->setAlignCanvasToScales(true);
QwtPlotGrid *grid = new QwtPlotGrid;
grid->setMajPen(QPen(Qt::gray, 0, Qt::DotLine));
grid->attach(this);
setCanvasBackground(Qt::white);
//setCanvasBackground(QColor(29, 100, 141)); // nice blue
//setAxisAutoScale(xBottom);
//s/etAxisAutoScale(yLeft);
setAxisScale(xBottom, 0.5, -0.5);
setAxisScale(yLeft, -10.00, 10.00);
setAxisAutoScale(yLeft);
//setAxisAutoScale(xBottom);
replot();
}
开发者ID:Protocentral,项目名称:ces_view,代码行数:30,代码来源:data_plot_fft.cpp
示例7: LOG_MSG
//-----------------------------------------------------------------------------------------
// This is to plot the total number of cognate cells (y2 = ytotal), and the number of
// "seed" cells (y1 = yseed)
//-----------------------------------------------------------------------------------------
void Plot::redraw2(double *x1, double *y1, double *x2, double *y2, int n1, int n2)
{
LOG_MSG("redraw2");
if (n1 == 1) { // That is, this is the first plotting instance.
yscale = max(yscale,calc_yscale_ts(y1[0]));
yscale = max(yscale,calc_yscale_ts(y2[0]));
setAxisScale(QwtPlot::yLeft, 0, yscale, 0);
}
curve[0]->setData(x1, y1, n1);
curve[1]->setData(x2, y2, n2);
QPen *pen = new QPen();
pen->setColor(Qt::red);
curve[1]->setPen(*pen);
delete pen;
this->insertLegend(&QwtLegend(), QwtPlot::RightLegend);
double ylast = y1[n1-1];
double ylast2 = y2[n2-1];
if (ylast2 > ylast) {
ylast = ylast2;
}
if (ylast > yscale) {
yscale = calc_yscale_ts(ylast);
setAxisScale(QwtPlot::yLeft, 0, yscale, 0);
}
replot();
}
开发者ID:gibbogle,项目名称:trophocell3D-abm,代码行数:30,代码来源:plot.cpp
示例8: IncrementalPlot
RandomPlot::RandomPlot(QWidget *parent):
IncrementalPlot(parent),
d_timer(0),
d_timerCount(0)
{
setFrameStyle(QFrame::NoFrame);
setLineWidth(0);
setCanvasLineWidth(2);
plotLayout()->setAlignCanvasToScales(true);
QwtPlotGrid *grid = new QwtPlotGrid;
grid->setMajPen(QPen(Qt::gray, 0, Qt::DotLine));
grid->attach(this);
setCanvasBackground(QColor(29, 100, 141)); // nice blue
setAxisScale(xBottom, 0, c_rangeMax);
setAxisScale(yLeft, 0, c_rangeMax);
replot();
// enable zooming
(void) new Zoomer(canvas());
}
开发者ID:albore,项目名称:pandora,代码行数:26,代码来源:randomplot.cpp
示例9: setAxisScale
void Plot::rescale()
{
setAxisScale(QwtPlot::xBottom,
d_mapRect.left(), d_mapRect.right());
setAxisScale(QwtPlot::yLeft,
d_mapRect.top(), d_mapRect.bottom());
}
开发者ID:BryanF1947,项目名称:GoldenCheetah,代码行数:7,代码来源:plot.cpp
示例10: QwtPlot
Plot::Plot(QWidget *parent):
QwtPlot( parent )
{
// panning with the left mouse button
(void) new QwtPlotPanner( canvas() );
// zoom in/out with the wheel
(void) new QwtPlotMagnifier( canvas() );
setAutoFillBackground( true );
setPalette( QPalette( QColor( 165, 193, 228 ) ) );
updateGradient();
setTitle("A Simple QwtPlot Demonstration");
insertLegend(new QwtLegend(), QwtPlot::RightLegend);
// axes
setAxisTitle(xBottom, "x -->" );
setAxisScale(xBottom, 0.0, 10.0);
setAxisTitle(yLeft, "y -->");
setAxisScale(yLeft, -1.0, 1.0);
// canvas
canvas()->setLineWidth( 1 );
canvas()->setFrameStyle( QFrame::Box | QFrame::Plain );
canvas()->setBorderRadius( 15 );
QPalette canvasPalette( Qt::white );
canvasPalette.setColor( QPalette::Foreground, QColor( 133, 190, 232 ) );
canvas()->setPalette( canvasPalette );
populate();
}
开发者ID:albore,项目名称:pandora,代码行数:34,代码来源:sinusplot.cpp
示例11: QwtPlot
SpinScanPolarPlot::SpinScanPolarPlot(QWidget *parent, uint8_t *spinData) : QwtPlot(parent), leftCurve(NULL), rightCurve(NULL), spinData(spinData)
{
// Setup the axis
setAxisTitle(yLeft, "SpinScan");
setAxisMaxMinor(xBottom, 0);
setAxisMaxMinor(yLeft, 0);
QPalette pal;
setAxisScale(yLeft, -90, 90); // max 8 bit plus a little
setAxisScale(xBottom, -90, 90); // max 8 bit plus a little
pal.setColor(QPalette::WindowText, GColor(CSPINSCANLEFT));
pal.setColor(QPalette::Text, GColor(CSPINSCANLEFT));
axisWidget(QwtPlot::yLeft)->setPalette(pal);
axisWidget(QwtPlot::yLeft)->scaleDraw()->setTickLength(QwtScaleDiv::MajorTick, 3);
enableAxis(xBottom, false); // very little value and some cpu overhead
enableAxis(yLeft, false);
rightCurve = new QwtPlotCurve("SpinScan Right");
rightCurve->setRenderHint(QwtPlotItem::RenderAntialiased); // too cpu intensive
rightCurve->attach(this);
rightCurve->setYAxis(QwtPlot::yLeft);
rightSpinScanPolarData = new SpinScanPolarData(spinData, false);
leftCurve = new QwtPlotCurve("SpinScan Left");
leftCurve->setRenderHint(QwtPlotItem::RenderAntialiased); // too cpu intensive
leftCurve->attach(this);
leftCurve->setYAxis(QwtPlot::yLeft);
leftSpinScanPolarData = new SpinScanPolarData(spinData, true);
static_cast<QwtPlotCanvas*>(canvas())->setFrameStyle(QFrame::NoFrame);
configChanged(CONFIG_APPEARANCE); // set colors
}
开发者ID:27sparks,项目名称:GoldenCheetah,代码行数:33,代码来源:SpinScanPolarPlot.cpp
示例12: changeitems
void matrixofpixels::HistogramPlotProperty(double Xmin, double Xmax, double Ymax)
{
changeitems();
setAxisAutoScale(this->xTop);
setAxisAutoScale(this->xBottom);
//setAxisFont(QwtPlot::xBottom,QFont("Helvetica",15,1));
QwtText xlabel("Value");
QwtText ylabel("Events");
QColor col(Qt::red);
xlabel.setColor(col);
ylabel.setColor(col);
xlabel.setFont(QFont("Helvetica",15,1));
ylabel.setFont(QFont("Helvetica",15,1));
setAxisTitle(QwtPlot::xBottom,xlabel);
setAxisTitle(QwtPlot::yLeft,ylabel);
setCanvasBackground(QColor(Qt::white));
setAxisScale(QwtPlot::xBottom, Xmin, Xmax);
setAxisMaxMinor(QwtPlot::xBottom, 0);
setAxisScale(QwtPlot::yLeft, 0, Ymax);
setAxisMaxMinor(QwtPlot::yLeft, 0);
plotLayout()->setAlignCanvasToScales(true);
his->attach(this);
/*QwtPlotGrid **/grid = new QwtPlotGrid;
grid->setMajPen(QPen(Qt::gray, 0, Qt::DotLine));
grid->attach(this);
replot();
}
开发者ID:elkinvg,项目名称:prmpixread,代码行数:31,代码来源:matrixofpixels.cpp
示例13: QwtPlot
Plot::Plot( QWidget *parent ):
QwtPlot( parent ),
d_interval( 10.0 ), // seconds
d_timerId( -1 )
{
// Assign a title
setTitle( "Testing Refresh Rates" );
setCanvasBackground( Qt::white );
alignScales();
// Insert grid
d_grid = new QwtPlotGrid();
d_grid->attach( this );
// Insert curve
d_curve = new QwtPlotCurve( "Data Moving Right" );
d_curve->setPen( QPen( Qt::black ) );
d_curve->setData( new CircularBuffer( d_interval, 10 ) );
d_curve->attach( this );
// Axis
setAxisTitle( QwtPlot::xBottom, "Seconds" );
setAxisScale( QwtPlot::xBottom, -d_interval, 0.0 );
setAxisTitle( QwtPlot::yLeft, "Values" );
setAxisScale( QwtPlot::yLeft, -1.0, 1.0 );
d_clock.start();
setSettings( d_settings );
}
开发者ID:Spinetta,项目名称:qwt,代码行数:33,代码来源:plot.cpp
示例14: setAxisScale
void EEGPlot::replotManual()
{
m_arraySeriesData->lockMutex();
setAxisScale(QwtPlot::yLeft,m_arraySeriesData->minimumY(), m_arraySeriesData->maximumY(), m_arraySeriesData->maximumY()/4);
setAxisScale(QwtPlot::xBottom,m_arraySeriesData->minimumX(), m_arraySeriesData->maximumX(),1.0);
replot();
m_arraySeriesData->unLockMutex();
}
开发者ID:CBRUhelsinki,项目名称:CENTplatform,代码行数:8,代码来源:EEGPlot.cpp
示例15: setAxisScale
void
BasicPlot::setAxes(double xmin, double xmax, double ymin, double ymax)
{
setAxisScale(xBottom, xmin, xmax);
setAxisScale(yLeft, ymin, ymax);
replot();
// set zoomer to new axes limits
emit setNewBase(axisScaleDiv(QwtPlot::xBottom), axisScaleDiv(QwtPlot::yLeft));
}
开发者ID:RTXI,项目名称:plot-lib,代码行数:9,代码来源:basicplot.cpp
示例16: ZoomIn
void ZoomPlot :: ZoomIn (double from_x, double from_y, double to_x, double to_y) {
std::cout << "Zooming from "<<from_x<<","<<from_y<<" to "<<to_x<<","<<to_y<<std::endl;
if (from_x > to_x) swap (from_x, to_x);
if (from_y > to_y) swap (from_y, to_y);
setAxisScale (xBottom, from_x, to_x);
setAxisScale (yLeft, from_y, to_y);
replot();
}
开发者ID:marras,项目名称:FCS-analyzer,代码行数:10,代码来源:zoomplot.cpp
示例17: QwtPlot
Plot::Plot(QWidget *parent):
QwtPlot(parent),
d_paintedPoints(0),
d_interval(0.0, 10.0),
d_timerId(-1)
{
d_directPainter = new QwtPlotDirectPainter();
setAutoReplot(false);
// We don't need the cache here
canvas()->setPaintAttribute(QwtPlotCanvas::PaintCached, false);
//canvas()->setPaintAttribute(QwtPlotCanvas::PaintPacked, false);
#if defined(Q_WS_X11)
// Even if not recommended by TrollTech, Qt::WA_PaintOutsidePaintEvent
// works on X11. This has a nice effect on the performance.
canvas()->setAttribute(Qt::WA_PaintOutsidePaintEvent, true);
canvas()->setAttribute(Qt::WA_PaintOnScreen, true);
#endif
plotLayout()->setAlignCanvasToScales(true);
setAxisTitle(QwtPlot::xBottom, "Time [s]");
setAxisScale(QwtPlot::xBottom, d_interval.minValue(), d_interval.maxValue());
setAxisScale(QwtPlot::yLeft, -200.0, 200.0);
QwtPlotGrid *grid = new QwtPlotGrid();
grid->setPen(QPen(Qt::gray, 0.0, Qt::DotLine));
grid->enableX(true);
grid->enableXMin(true);
grid->enableY(true);
grid->enableYMin(false);
grid->attach(this);
d_origin = new QwtPlotMarker();
d_origin->setLineStyle(QwtPlotMarker::Cross);
d_origin->setValue(d_interval.minValue() + d_interval.width() / 2.0, 0.0);
d_origin->setLinePen(QPen(Qt::gray, 0.0, Qt::DashLine));
d_origin->attach(this);
d_curve = new QwtPlotCurve();
d_curve->setStyle(QwtPlotCurve::Lines);
d_curve->setPen(QPen(Qt::green));
#if 1
d_curve->setRenderHint(QwtPlotItem::RenderAntialiased, true);
#endif
#if 1
d_curve->setPaintAttribute(QwtPlotCurve::ClipPolygons, false);
#endif
d_curve->setData(new CurveData());
d_curve->attach(this);
}
开发者ID:PrincetonPAVE,项目名称:old_igvc,代码行数:55,代码来源:plot.cpp
示例18: QwtPlot
SweepInspector::SweepInspector(QWidget *parent) : QwtPlot(parent), data(NULL), d_curve(NULL), picker(NULL) {
setObjectName( "SweepData" );
setTitle( "RF Sweep" );
setAxisTitle( QwtPlot::xBottom, "Frequency");
setAxisTitle( QwtPlot::yLeft, QString( "Power Level (dBm)"));
setAutoReplot(true);
enableAxis(QwtPlot::xBottom, true);
enableAxis(QwtPlot::yLeft, true);
enableAxis(QwtPlot::xTop, false);
enableAxis(QwtPlot::yRight, false);
canvas = new QwtPlotCanvas();
canvas->setPalette( Qt::black );
canvas->setBorderRadius(0);
setCanvas(canvas);
//Allow zooming / panning
zoomer = new QwtPlotZoomer( canvas );
zoomer->setRubberBandPen( QColor( Qt::white ) );
zoomer->setTrackerPen( QColor( Qt::white ) );
connect(zoomer, SIGNAL(zoomed(const QRectF &)), this, SLOT(zoomed(const QRectF &)));
panner = new QwtPlotPanner( canvas );
panner->setMouseButton( Qt::MidButton );
//Show the X/Y markers that follow the mouse
picker = new QwtPlotPicker(QwtPlot::xBottom, QwtPlot::yLeft, QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOn, canvas);
picker->setStateMachine( new QwtPickerTrackerMachine() );
picker->setRubberBandPen( QColor( Qt::cyan ) );
picker->setTrackerPen( QColor( Qt::cyan ) );
//FreqdBmPicker *er = new FreqdBmPicker(QwtPlot::xBottom, QwtPlot::yLeft, QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOn, canvas);
//Setup grid
grid = new QwtPlotGrid();
grid->enableXMin( true );
grid->enableYMin( true );
QColor color(Qt::gray); color.setAlpha(128);
grid->setMajorPen( color, 1, Qt::DotLine );
grid->setMinorPen( color, 1, Qt::DotLine );
grid->attach( this );
//format in kHz, MHz, GHz, not raw values
setAxisScaleDraw(QwtPlot::xBottom, new FreqScaleDraw);
setAxisAutoScale(QwtPlot::xBottom, true);
//setAxisScale(QwtPlot::xBottom, 1, 4.4e9, 4.4e9 / 5.0);
//setAxisScale(QwtPlot::yLeft, -135, 20, 20.0);
setAxisScale(QwtPlot::yRight, 0, 10, 1);
setAxisScale(QwtPlot::xTop, 0, 10, 1);
repaint();
replot();
}
开发者ID:npotts,项目名称:SpectralSignalHound-Viewer,代码行数:55,代码来源:SweepInspector.cpp
示例19: setAxisTitle
void ICResultChart::setOrientation(int orientation)
{
QwtPlot::Axis axis1, axis2;
if (orientation == 0) {
axis1 = QwtPlot::xBottom;
axis2 = QwtPlot::yLeft;
d_barChartItem->setOrientation(Qt::Vertical);
} else {
axis1 = QwtPlot::yLeft;
axis2 = QwtPlot::xBottom;
d_barChartItem->setOrientation(Qt::Horizontal);
}
setAxisTitle(axis2, tr("Number"));
setAxisTitle(axis1, tr("Answers"));
setAxisScaleDraw(axis1, new ChoicesScaleDraw(result.keys()));
setAxisScaleDraw(axis2, new QwtScaleDraw);
int size = result.size()-1 <= 0 ? 0: result.size()-1;
if (size == 0) {
setAxisAutoScale(axis1);
}
else {
setAxisScale(axis1, 0, size, 1.0);
}
int maxsize = 0;
foreach (int size, result.values()) {
if (maxsize < size) maxsize = size;
}
setAxisScale(axis2, 0, maxsize * 1.3);
QwtScaleDraw *scaleDraw1 = axisScaleDraw(axis1);
scaleDraw1->enableComponent(QwtScaleDraw::Backbone, false);
scaleDraw1->enableComponent(QwtScaleDraw::Ticks, false);
QwtScaleDraw *scaleDraw2 = axisScaleDraw(axis2);
scaleDraw2->enableComponent(QwtScaleDraw::Backbone, false);
scaleDraw2->enableComponent(QwtScaleDraw::Ticks, true);
//plotLayout()->setAlignCanvasToScales( true );
plotLayout()->setAlignCanvasToScale(axis1, true);
plotLayout()->setAlignCanvasToScale(axis2, false);
plotLayout()->setCanvasMargin(0);
updateCanvasMargins();
replot();
}
开发者ID:hzzlzz,项目名称:InteractiveCourse,代码行数:54,代码来源:icresultchart.cpp
示例20: XYZPlot
COMyPlot::COMyPlot(QWidget *parent)
: XYZPlot(parent) {
for (int i = 0; i < PLOT_SIZE; ++i)
data[i] = 0.0;
setTitle("COM relative to foot touching ground y");
QwtPlotCurve *curve = new QwtPlotCurve("COMy");
curve->attach(this);
curve->setRawData(t, data, PLOT_SIZE);
setAxisScale(QwtPlot::xBottom, 0, PLOT_SIZE - 1);
setAxisScale(QwtPlot::yLeft, -100, 100);
}
开发者ID:FionaCLin,项目名称:rUNSWift-2015-release,代码行数:12,代码来源:plots.cpp
注:本文中的setAxisScale函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论