Plotting functions with Jmol

The sinc function (a.k.a. “sombrero”, or Mexican hat)

sinc(r) = sin(r) / r

Plot wire mesh using data points read from file, javascript and "draw" command:

Calculate & plot surface using javascript and "isosurface functionXY" command: (recommended resolution: 4)
or load surface from disk (faster):

Show data points (they are small, you may need to zoom in)

The Fourier integral kernel (spiral)

exp(-2 π i k t)
= cos(2 π k t) + i sin(2 π k t)

or

x = sin(2 π k t)
y = cos(2 π k t)
z = t

Calculate & plot line using javascript and "draw" line: (may overlay both)

Calculate & plot helicoid using javascript and "draw" quadrilaterals: (only one)

The Fourier integral kernel, exponentially damped

exp(-t) · exp(-2 π i k t)
= exp(-t) · [ cos(2 π k t) + i sin(2 π k t) ]

or

x = exp(-t) · sin(2 π k t)
y = exp(-t) · cos(2 π k t)
z = t

Plot line (with k=1) using data points read from file, javascript and "draw" command: Show data points

Calculate & plot line using javascript and "draw" line: (may overlay both)

Calculate & plot helicoid using javascript and "draw" quadrilaterals: (only one)

The “saddle” function

z = x4 - y4

Calculate & plot surface using javascript and "isosurface functionXY" command: (recommended resolution: 1)

Plotting XYZ data

Data points read from a file: (these data were previously smoothed and interpolated to a mesh from the data points)

Very coarse surface:


Background color:
Resolution for calculation of isosurfaces:
Isosurface features (combine at will):