## Gnuplot demo scripts run through the HTML canvas terminal
See also the demo output for the PNG and SVG terminals.

The canvas driver for gnuplot was contributed by Bruce Lueckenhoff, and extended by Ethan Merritt (sfeam). To view the results you need a browser that supports the HTML 5 'canvas' element.

#### Basic 2D plot styles

- simple functions
- filled curves
- fill between curves
- candlesticks
- error bars
- histograms
- step functions
- multiple axis scales
- mixing styles
- variable size points
- parametric functions
- vector fields
- circles
- boxplots

#### Math functions

- approximation
- B-splines
- Bezier splines
- probability
- probability (more)
- random numbers
- recursion, etc...
- data statistics

#### Animation

- not supported

#### 3D plots and surfaces

- surfaces 1
- surfaces 2
- contours
- singularities
- hidden surfaces
- pm3d coloring
- pm3d hidden surfaces
- 3D mapping

#### Coordinate and
axis transforms

- polar coords
- polar data
- cylindrical/spherical
- time/date coords

#### Binary and Image data

- binary data
- RGB + alpha channel
- rescaled images

#### Colors

- user-defined colors
- RGB coloring
- pm3d colors

#### Sample Applications

- control models
- discrete contours
- financial data
- non-gridded data
- running averages
- cummulative smoothing
- 2D and 3D heat maps

#### Text options

- enhanced text
- string data
- variable font size
- utf8 math symbols

#### Page Layout

- multiplot layout
- multiple plots
- aligned plots
- axis location
- rectangles

#### Styles

- line styles
- fill styles
- arrow styles
- transparency
- transparent solids

### Example of mouse tracking, zoom/unzoom

|  |  |  | ➀ | x |  | y |

Note:

- Zoom using right (Firefox, Konqueror) or center (Opera, Safari) mouse button
- Mark point using left mouse button
- ➀ toggles first plot on/off # toggles grid on/off

This page created by Ethan Merritt
April 2011

- Gnuplot development pages on SourceForge
- On-line PDF documentation in English and Japanese