当前位置: 首页 > news >正文

企业网站建设之后google 网站打不开

企业网站建设之后,google 网站打不开,公司招聘网站,百度收录wordpress#xff08;一#xff09;QCustomPlot常见属性设置、多曲线绘制、动态曲线绘制、生成游标、矩形放大等功能实现-CSDN博客 关键代码#xff1a; QT core gui printsupport 使用上面文章中的代码跑起来的程序效果图#xff1a; 我的学习过程#xff1a; 最开始初…一QCustomPlot常见属性设置、多曲线绘制、动态曲线绘制、生成游标、矩形放大等功能实现-CSDN博客 关键代码 QT core gui printsupport 使用上面文章中的代码跑起来的程序效果图 我的学习过程  最开始初始化后QCustomPlot对象显示图 1.x轴名称和刻度值 m_Multichannel-xAxis-setLabel(x轴); m_Multichannel-xAxis-setNumberFormat(f); //x轴刻度值格式 2. 刻度值精度 m_Multichannel-xAxis-setNumberPrecision(3); //刻度值精度 3. x轴标签的字体 m_Multichannel-xAxis-setLabelFont(QFont(font().family(),20)); //设置标签字体大小 4. x轴刻度数量和刻度范围 m_Multichannel-xAxis-ticker()-setTickCount(11); //刻度数量 m_Multichannel-xAxis-setRange(0,10,Qt::AlignLeft); //范围 0---9 其实一共11个刻度 01234 56789 10 5. x轴刻度范围 m_Multichannel-xAxis-setRange(0,20,Qt::AlignLeft); //范围 0---20 11个刻度 6. x轴刻度范围 m_Multichannel-xAxis-setRange(0,30,Qt::AlignLeft); 0---30 11个刻度 7. x轴属性集合 m_Multichannel-xAxis-ticker()-setTickCount(21); //刻度数量m_Multichannel-xAxis-setNumberFormat(f); //x轴刻度值格式m_Multichannel-xAxis-setNumberPrecision(0); //刻度值精度m_Multichannel-xAxis-setRange(0,30,Qt::AlignLeft); //范围0---3021个刻度 不知道为什么显示出来是这样 8. x轴子刻度长度 m_Multichannel-xAxis-setSubTickLength(0,0); //子刻度长度 setSubTickLength(int inside, int outside)Sets the length of the subticks in pixels. \a inside is the length the subticks will reach insidethe plot and \a outside is the length they will reach outside the plot. If \a outside is greaterthan zero, the tick labels and axis label will increase their distance to the axis accordingly,so they wont collide with the ticks. 以像素为单位设置子刻度的长度。 inside是子刻度将到达的图表内的长度 outside是它们到达plot外的长度。 如果outside0刻度label和轴label将相应地增加到轴的距离 这样它们就不会和ticks相撞。 plot图表 9.  x轴子刻度长度 m_Multichannel-xAxis-setSubTickLength(5,0); //子刻度长度 10.  x轴子刻度长度 m_Multichannel-xAxis-setSubTickLength(20,0); //子刻度长度 11.  x轴子刻度长度 m_Multichannel-xAxis-setSubTickLength(0,20); //子刻度长度 12.  x轴子刻度长度 m_Multichannel-xAxis-setSubTickLength(10,10); //子刻度长度 13. x轴和y轴 m_Multichannelui-widget;QSharedPointerQCPAxisTickerFixed intTicker_M(new QCPAxisTickerFixed);intTicker_M-setTickStep(1);intTicker_M-setScaleStrategy(QCPAxisTickerFixed::ssMultiples);m_Multichannel-xAxis-setTicker(intTicker_M);m_Multichannel-xAxis-setLabel(x轴);m_Multichannel-xAxis-ticker()-setTickCount(11); //刻度数量m_Multichannel-xAxis-setNumberFormat(f); //x轴刻度值格式m_Multichannel-xAxis-setNumberPrecision(0); //刻度值精度m_Multichannel-xAxis-setLabelFont(QFont(font().family(),20)); //设置标签字体大小m_Multichannel-xAxis-setRange(0,10,Qt::AlignLeft); //范围m_Multichannel-xAxis-setSubTickLength(0,0); //子刻度长度m_Multichannel-yAxis-setNumberFormat(f);m_Multichannel-yAxis-setNumberPrecision(2);m_Multichannel-yAxis-setLabel(y轴);m_Multichannel-yAxis-setLabelFont(QFont(font().family(),10));m_Multichannel-yAxis-setRange(0,5);m_Multichannel-yAxis-setTickLength(10,5); 14. 背景 QCustomPlot绘图类详解大白话-CSDN博客 ui-plotWidget-setBackground(QBrush(QColor(#404040))); 15. 坐标轴标签颜色 ui-plotWidget-xAxis-setLabelColor(QColor(Qt::red));ui-plotWidget-yAxis-setLabelColor(QColor(Qt::red)); 16. 坐标轴数字标签颜色 ui-plotWidget-xAxis-setTickLabelColor(QColor(Qt::green));ui-plotWidget-yAxis-setTickLabelColor(QColor(Qt::green)); 17. 坐标轴基线颜色 ui-plotWidget-xAxis-setBasePen(QPen(QColor(Qt::yellow), 2, Qt::SolidLine));ui-plotWidget-yAxis-setBasePen(QPen(QColor(Qt::yellow), 2, Qt::SolidLine)); 18. 坐标轴tick颜色 ui-plotWidget-xAxis-setTickPen(QPen(QColor(#ff00ff)));ui-plotWidget-yAxis-setTickPen(QPen(QColor(#ff00ff))); 19. 坐标轴subtick颜色 ui-plotWidget-xAxis-setSubTickPen(QPen(QColor(#00ffff)));ui-plotWidget-yAxis-setSubTickPen(QPen(QColor(#00ffff))); 20. grid()颜色 ui-plotWidget-xAxis-grid()-setPen(QPen(QColor(Qt::darkRed), 1, Qt::DotLine));ui-plotWidget-yAxis-grid()-setPen(QPen(QColor(Qt::darkGreen), 1, Qt::DotLine)); 21. 示例1 #define PT_CNT 200 // 点数QVectordouble keys, values;for (int i 1; i PT_CNT; i){keys.push_back(i);values.push_back(rand() % 100 - 10);}ui-plotWidget-addGraph();ui-plotWidget-graph(0)-addData(keys, values);ui-plotWidget-graph(0)-setPen(QColor(Qt::blue));ui-plotWidget-graph(0)-setAntialiasedFill(true);ui-plotWidget-replot(); 22. 刷新图层 ui-plotWidget-graph(0)-data()-clear();ui-plotWidget-replot(); 重新添加数据 QVectordouble keys, values;for (int i 1; i PT_CNT; i){keys.push_back(i);values.push_back(rand() % 100 - 10);}ui-plotWidget-graph(0)-addData(keys, values);ui-plotWidget-graph(0)-setPen(QColor(Qt::blue));ui-plotWidget-graph(0)-setAntialiasedFill(true);ui-plotWidget-replot(); 23. 拖拽缩放 ui-plotWidget-setInteractions(QCP::iRangeDrag | QCP::iRangeZoom); 24. qcustomplot的帮助文档 我希望在QtCreator中使用qcustomplot的帮助文档可以参考下面的文章。 QCustomPlot使用手册一_qcustom手册-CSDN博客 【QCustomPlot】1.1 - Qt .qch帮助文档导入使用-CSDN博客 25.示例2 参考QCustomPlot使用-CSDN博客 //最开始初始化 for (int i0; i101; i){double m,m1;m i/50.0 - 1;m1 m*m;xm;x1m;ym1;y1-m1;}oneui-plotWidget-addGraph();init_graph(0);twoui-plotWidget-addGraph();ui-plotWidget-graph(1)-addData(x1, y1);ui-plotWidget-graph(1)-setPen(QColor(Qt::red));ui-plotWidget-graph(1)-setAntialiasedFill(true);ui-plotWidget-replot();init_graph(1); //初始化图层 void MainWindow::init_graph(int current_index) {if(current_index0){ui-plotWidget-graph(current_index)-addData(x, y);ui-plotWidget-graph(current_index)-setPen(QColor(Qt::blue));}else {ui-plotWidget-graph(current_index)-addData(x1, y1);ui-plotWidget-graph(current_index)-setPen(QColor(Qt::red));}ui-plotWidget-graph(current_index)-setAntialiasedFill(true);ui-plotWidget-replot(); }//清理图层 void MainWindow::on_pushButton_clicked() {int current_indexui-spinBox-value();ui-plotWidget-graph(current_index)-data()-clear();ui-plotWidget-replot(); } //添加数据 void MainWindow::on_pushButton_2_clicked() {int current_indexui-spinBox-value();init_graph(current_index); }
http://www.pierceye.com/news/403197/

相关文章:

  • 做co的网站商城网站不备案
  • 黄山建设网站公司电话网站下载链接怎么做
  • 开发企业网站多少钱电视剧排行榜百度搜索风云榜
  • 什么网站做软文装修公司报价如何计算
  • 网站开发免费视频播放器应用公园app免费制作
  • 道路建设去什么网站能看到做内贸注册什么网站
  • 代理东莞网站制作公司wordpress前台用户中心代码
  • 做拼团网站下载wap浏览器
  • 网站建设合同文百科阿里云加WordPress建站
  • 服装购物网站排名ppt制作神器
  • 长沙营销策划公司排名如何优化企业网站
  • 北京制卡厂家做卡公司北京制卡网站_北京制卡_北京 去114网wordpress 关闭注册
  • 网站建设技术优势广州天河区医院
  • python和php网站开发中国十大公司排行榜
  • 网站栅格如何建设一个外卖订餐平台网站
  • 浙江省网站建设报价群晖wordpress不成功
  • 音乐网站制作策划书网站建设公司的服务公司
  • 南昌定制网站开发多少钱手机在线网页制作
  • 无锡网站推广$做下拉去118cr高端网站建设苏州
  • 该网站未在腾讯云备案网页界面图
  • cms开源建站系统河北省建设厅管网站
  • 网站优化排名易下拉技术做官网的步骤
  • 网站备案多久服装企业 北京 网站建设
  • 网站建设(信奈辉煌电商)陕西富通建设工程有限公司网站
  • 南昌县住房和城乡建设局网站外海网站如何做网站的推广
  • 重庆网站推广报价wordpress全景图
  • 做那个的网站谁有建立什么指标体系和评价程序规范
  • 新旧网站对比全国建设厅网站
  • 有经验的番禺网站建设做球服的网站有哪些
  • 临泉建设网站互联网行业都有哪些工作