查看完整版本: [-- QCustomplot 怎么设置指定点显示 --]

QTCN开发网 -> Qt基础编程 -> QCustomplot 怎么设置指定点显示 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

dai410257573 2022-06-24 14:47

QCustomplot 怎么设置指定点显示

现在我已经加载了10000个点,replot后,总是默认在结束在最后一个点上,那么我想在当前显示区域内,显示从第500-到第600点,该怎么操作?求助大佬们

liudianwu 2022-06-24 19:43
设置坐标轴范围就好

dai410257573 2022-06-27 10:38
liudianwu:设置坐标轴范围就好 (2022-06-24 19:43) 

大佬666,解决了

dai410257573 2022-06-27 10:40
liudianwu:设置坐标轴范围就好 (2022-06-24 19:43) 

ui->UI_customplot->xAxis->setRange(50, 4096, Qt::AlignLeft);

dai410257573 2022-06-28 08:45
liudianwu:设置坐标轴范围就好 (2022-06-24 19:43) 

大佬,我想问一下,qcustomplot里面 怎么拖动Y2轴,因为默认是拖动的Y1


查看完整版本: [-- QCustomplot 怎么设置指定点显示 --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled