- Timestamp:
- Jun 23, 2012, 3:16:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/polarplot.cpp
r4312 r4313 78 78 QwtPolarPlot(QwtText("Polar Plot"), parent) { 79 79 80 setPlotBackground(Qt:: darkBlue);80 setPlotBackground(Qt::white); 81 81 82 82 // Scales … … 89 89 azimuthInterval.width() / 12); 90 90 91 setScaleMaxMinor(QwtPolar::Azimuth, 2);92 93 91 // Grids, Axes 94 92 // ----------- 95 93 _grid = new QwtPolarGrid(); 96 _grid->setPen(QPen(Qt:: white));94 _grid->setPen(QPen(Qt::black)); 97 95 for ( int scaleId = 0; scaleId < QwtPolar::ScaleCount; scaleId++ ) { 98 _grid->showGrid( scaleId ); 99 _grid->showMinorGrid( scaleId ); 100 QPen minorPen( Qt::gray ); 101 _grid->setMinorGridPen(scaleId, minorPen); 96 _grid->showGrid(scaleId); 102 97 } 103 98 104 99 _grid->setAxisPen(QwtPolar::AxisAzimuth, QPen(Qt::black)); 105 100 106 _grid->showAxis(QwtPolar::AxisAzimuth, true ); 107 _grid->showAxis(QwtPolar::AxisLeft, false); 108 _grid->showAxis(QwtPolar::AxisRight, true); 101 _grid->showAxis(QwtPolar::AxisAzimuth, true); 109 102 _grid->showAxis(QwtPolar::AxisTop, true); 110 103 _grid->showAxis(QwtPolar::AxisBottom, false); 104 _grid->showAxis(QwtPolar::AxisLeft, false); 105 _grid->showAxis(QwtPolar::AxisRight, false); 111 106 112 107 _grid->showGrid(QwtPolar::Azimuth, true); … … 139 134 curve->setStyle(QwtPolarCurve::NoCurve); // draw only symbols 140 135 curve->setSymbol(new QwtSymbol(QwtSymbol::Ellipse, 141 QBrush(Qt:: cyan), QPen(Qt::white),136 QBrush(Qt::red), QPen(Qt::red), 142 137 QSize(3, 3))); 143 138 curve->setData(new SpiralData(zenithInterval, azimuthInterval, numPoints));
Note:
See TracChangeset
for help on using the changeset viewer.