函数图像绘制工具
在自定义区间内绘制任意表达式的 y = f(x) 图像——幂函数、三角函数、对数函数、平方根均可。完全在浏览器端运行。
使用方法
- 1 输入一个以 x 为变量的函数,例如:x^2 - 4、sin(x) 或 2*x + 1。
- 2 设置 x 的取值区间以放大或缩小图像。
- 3 输入的同时,图像会自动重新绘制。
为什么使用此工具
- 即时绘制任意一元函数的图像。
- 支持幂函数、三角函数、对数函数、平方根、π 和 e。
- 完全在你的浏览器中运行。
常见问题
可以绘制哪些函数?
任何以 x 表示的表达式,可使用 + − × ÷、^(幂运算)、括号,以及 sin、cos、tan、ln、log、sqrt、abs、exp 等函数,还支持常数 π(pi)和 e。
需要写乘号吗?
通常不需要——2x 和 3(x+1) 都能被正确识别。如果不确定,建议显式写出乘号(2*x)。
曲线是如何绘制出来的?
函数会在整个 x 区间内采样 500 个点并连接成线;在函数无定义的位置(例如除以 0)会出现断点。
可以绘制三角函数吗?
可以——sin(x)、cos(x)、tan(x) 及其反函数均支持,角度以弧度为单位计算。
什么是 函数图像绘制工具?
函数图像绘制工具(function grapher)可在所选的 x 区间内绘制一元函数 y = f(x) 的图像,支持多项式、三角函数、对数函数和指数函数等表达式。
功能特性
Live plotting
Graphs functions of x on a canvas as you type the expression.
Pan & zoom
Explore the curve across different domains and scales.
Free & private
Runs on your device — nothing is uploaded.
示例
Input
y = x^2
Output
Parabola through (−2,4), (0,0), (1,1), (2,4)
常见使用场景
-
1
Visualize functions
See the shape of a polynomial, trig, or exponential function.
-
2
Compare curves
Plot several functions together to compare behaviour.
-
3
Teach & study
Illustrate roots, turning points, and asymptotes graphically.
Zerethon's function grapher plots one or more mathematical functions of x on an interactive canvas in your browser, with pan and zoom. Enter expressions like x^2 or sin(x) and see the curves rendered live. Everything runs client-side — nothing is uploaded.
- 分类
- 数学
- 价格
- 免费
- 隐私
- 基于浏览器
- 注册
- 无需
References
- Graph of a function — Wikipedia
- Canvas API — MDN
隐私
除非另有说明,否则你的数据永远不会离开浏览器。函数图像绘制工具 完全在客户端运行 — 无需上传服务器,不记录日志,不追踪你输入的内容。
相关工具
在 Zerethon Social 上创作、分享与成长
免费注册。赚取积分,收集成就,与全球创作者建立联系。