C ++库来绘制图形图形

2023-09-07 13:25:19 作者:甜诱少女

有人能建议我一个很好的,免费的,易于使用的库为C ++允许绘制数学函数用于Microsoft Windows的窗口? (例如抛物线X ^ 2 + 5X + 3 = 0)

Someone can suggest me a good, free, easy to use library for c++ that allow to draw a mathematical function in a window for microsoft windows? (e.g. the parabola x^2+5x+3=0)

推荐答案

另外wxWidgets的基础选择是 wxArt2D ,它得到了吨好等特点绘制数学函数的曲线,就像你可以很容易地通过这个 Y = 140 * COS(X / 20)+ 80 * COS(X * 2/20)+ 40 * COS( X * 4/20)以曲线对象,它会拿得出,这是惊人的! 查阅这些截图有一些曲线,通过的方程绘制字符串的格式!

Another wxWidgets-based option is wxArt2D, It has got tons of good features for drawing mathematical functions as curves, like you could easily pass this y=140*cos(x/20) + 80*cos(x*2/20) + 40*cos(x*4/20)" to a curve object and it will get drawn, it's amazing! Check out these screenshots there are some curves drawn by equations in string format!