Hi, I plot a 3D graph with QwtPlot3D and everything is ok but my scale, it is unreadable.I'm running ubuntu10.04.It troubles me some days.Here are my codes and screenshot.Thanks for your attention!
Screenshot.png
Qt Code:
  1. createCoordinateSystem(Qwt3D::Triple(0, 0, 0), Qwt3D::Triple(100, 100, 100));
  2.  
  3. for (unsigned i=0; i!=coordinates()->axes.size(); ++i)//set the axes scal
  4. {
  5. coordinates()->axes[i].setMajors(7);
  6. coordinates()->axes[i].setMinors(3);
  7. coordinates()->axes[i].setLabelColor(RGBA(0,0,0));
  8. }
  9.  
  10. coordinates()->setNumberColor(RGBA(0,0,0));
  11. coordinates()->setNumberFont("Times",10, QFont::Bold);
  12. coordinates()->setLineSmooth(true);
  13. coordinates()->setGridLines(true, true);
  14. coordinates()->setLabelFont(QFont("Times", 12, QFont::Bold));
  15.  
  16. setPlotStyle(Bar(0.004, 0.05));
  17. setCoordinateStyle(FRAME);
  18. //disableMouse(true);
  19. updateData();
  20. updateGL();
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. coordinates()->axes[X1].setLabelString(QString("Phase"));
  2. coordinates()->axes[Y1].setLabelString(QString("Cycle"));
  3. coordinates()->axes[Z1].setLabelString(QString("Amplitude"));
To copy to clipboard, switch view to plain text mode 
In addition, I want to run the demo in QwtPlot3D. Following the instruction: qmake; make; I got errors as follow:
Qt Code:
  1. tmp/ui_mesh2mainwindowbase4.h: In member function ‘void Ui_MainWindow::setupUi(QMainWindow*)’:
  2. tmp/ui_mesh2mainwindowbase4.h:69: error: ‘class QGridLayout’ has no member named ‘setLeftMargin’
  3. tmp/ui_mesh2mainwindowbase4.h:70: error: ‘class QGridLayout’ has no member named ‘setTopMargin’
  4. tmp/ui_mesh2mainwindowbase4.h:71: error: ‘class QGridLayout’ has no member named ‘setRightMargin’
  5. tmp/ui_mesh2mainwindowbase4.h:72: error: ‘class QGridLayout’ has no member named ‘setBottomMargin’
  6. tmp/ui_mesh2mainwindowbase4.h:73: error: ‘class QGridLayout’ has no member named ‘setHorizontalSpacing’
  7. tmp/ui_mesh2mainwindowbase4.h:74: error: ‘class QGridLayout’ has no member named ‘setVerticalSpacing’
To copy to clipboard, switch view to plain text mode 
Can anyone help?