渲染用户Python 中的方程

发布于 2024-08-21 09:26:09 字数 1540 浏览 10 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别低头,皇冠会掉 2024-08-28 09:26:09

我不确定您是否打算让您的学生在 python 中构建此绘图工具还是您希望自己构建该工具,以便他们可以使用它来可视化输入时函数的行为是变化的。如果是后者,那么也许该工具用哪种语言实现并不重要,所以我会提到一个我认为几乎完全适合您的简短描述的应用程序。

除了绘制图表之外,我还希望渲染用户输入的方程[例如: y = (x^2)/3] 以良好的格式样式 - 理想情况下当用户输入表达式时实时更新。

一个名为“Grapher。"它随 Mac OS X(10.4 及更高版本)一起提供。它仅适用于 Mac 的事实可能会破坏交易,但我仍然想提一下,以防您的学生像许多小学生一样在计算机实验室中使用 Mac。 (注意:不要与“AP Grapher”混淆——也是一个 Mac 应用程序,但它是一个无线热点查找器或类似的东西)。

基本功能集:完全交互,输入方程式(直观 - 使用 mac 键的 子集绑定)以通过微积分、线性代数、统计、微分方程等创建相当复杂的方程。一旦输入了一系列值,方程就会被精美地绘制出来。 Grapher 有 2D 和 3D 模式。这是 Grapher 主应用程序窗口的屏幕截图,显示了以 3D 绘制的方程。

有windows版本吗?我听说有传言说其中一个退出,但我刚才通过一些快速的网络搜索无法找到任何有关它的明确信息。

I am not sure whether you intend to have your students build this plotting tool in python or you want to build the tool yourself so they can use it to e.g., visualize changes in function behavior as inputs are varied. If the latter, then perhaps it's not important which language the tool is implemented in, so i'll mention one app i think is fits your brief description almost perfectly.

As well as plotting a graph, I would ideally like to render the equation a user enters [eg. y = (x^2)/3] in a nicely formatted style - ideally updating in real-time as the user enters their expression.

A free App called "Grapher." It comes packaged with the Mac OS X (10.4 and above). The fact that it is Mac-only might be a deal-breaker, still i wanted mention it in case your students are using Macs in a computer lab, as many grade-school students are. (Note: not to be confused with "AP Grapher"--also a Mac app but it's a wireless hotspot finder or something like that).

The basic feature set: fully interactive, enter an equation (intuitive--uses a subset of the mac key bindings) to create fairly complex equations from calculus, linear algebra, statistics, differential equations, and the like. Once entered, along with a range of values, the equation is beautifully plotted. Grapher has both a 2D and a 3D mode. Here's a screenshot of Grapher's main app window showing an equation plotted in 3D.

Is there a windows version? I've heard rumors that one exits, but i wasn't able to find any definitive information about it from a few quick Web searches just now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文