Grapher creates 2D and 3D graphs from simple and complex equations. It includes a variety of samples ranging from differential equations to 3D-rendered Toroids and Lorenz attractors.
Source: LXer – Best Free and Open Source Alternatives to Apple Grapher