We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
优化
使用
for (int i = 0; i < DataY.Length; i++) { if (DataY[i] == null) DataY[i] = new double[MaxPoints]; Plot.Plot.AddSignal(DataY[i]); }
替代
DataX = new double[MaxPoints]; for (int i = 0; i < MaxPoints; i++) DataX[i] = i - MaxPoints + 1; for (int i = 0; i < Data.Length; i++) { if(Data[i] == null) Data[i] = new double[MaxPoints]; Plot.Plot.AddSignalXY(DataX, Data[i]); }
--------------------------------------------------分割线------------------------------------------------- 使用
Plot.Plot.AxisAuto();
Plot.Plot.SetAxisLimitsX(-MaxPoints, 0); //防止最大值最小值错误 var min = Data.Min(x => x.Min()); var max = Data.Max(x => x.Max()); if(min < max) Plot.Plot.SetAxisLimitsY(min, max);
Array.Copy(DataY[line], 1, DataY[line], 0, DataY[line].Length - 1);
for(int i = 0;i < MaxPoints - 1;i++) Data[line][i] = Data[line][i + 1];
--------------------------------------------------分割线------------------------------------------------- 十字光标掉帧严重,建议提高刷新率或者移除十字光标
No response
The text was updated successfully, but these errors were encountered:
DataY是什么
DataY
AxisAuto里面的代码,比我写的还复杂好多,而且会擅自调整可视范围,用户会被不停地强制缩放到自适应尺寸
AxisAuto
Array.Copy确实快
Array.Copy
Sorry, something went wrong.
No branches or pull requests
您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
优化
描述您想要的解决方案 / Describe the solution you'd like
优化
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
使用
替代
--------------------------------------------------分割线-------------------------------------------------
使用
替代
--------------------------------------------------分割线-------------------------------------------------
使用
替代
--------------------------------------------------分割线-------------------------------------------------
十字光标掉帧严重,建议提高刷新率或者移除十字光标
其他备注信息或截图 / Add any other context or screenshots about the feature request here
No response
The text was updated successfully, but these errors were encountered: