Kontrast development documentation
Setup and usage
Getting started
- Tutorial: The first visualization with Kontrast
- Notes on web development
- Using Kontrast online and offline
- Directory structure and Kontrast updates
Kontrast HTTP server
- General information and file system access
- Using external data resources
- Serial communication
- Technical details
Publication, format, typesetting
Reference
Index of all objects, functions, properties and events
General topics
-
The global
kontrast
object - Object management in Kontrast
- The Kontrast math syntax
- Formatting decimal numbers
- Color spaces
- Keyboard and mouse interactions
- Events in Kontrast
- Layout
- Adding plot legends to graphs and documents
- Customizing hover markers
Kontrast objects
Kontrast properties
Data analysis
- Parsing comma-separated value (CSV) resources
- Parsing mathematical expressions
- Solving systems of equations
- Fitting data with functions
- Integrating ordinary differential equations (ODE)
- Generating histograms
- Generating pseudo-random numbers
- Discrete Fourier transform
Examples
3D
- 3D coordinate system
- 3D coordinate system with color axis
- 3D coordinate system with opacity axis
- 3D coordinate system with thickness axis
Animation
Annotation
Axis
- 3D coordinate system
- 3D coordinate system with color axis
- 3D coordinate system with opacity axis
- 3D coordinate system with thickness axis
- Appearance of Cartesian axes
- Appearance of color, opacity and thickness axes
- Axis grid lines
- Axis placement using origin and anchor
- Color axis
- Custom tick and grid positions
- Fine-tuning the drawing order using the render index
- Interactive data updates
- Limiting the range of an axis
- Mapping of axes
- Opacity axis
- Reacting to changes of axis limits
- Reciprocal axis mapping
- Relative axis (scale bar)
- Synchronizing two axes
- Thickness axis
Bars
Color
Color axis
- 3D coordinate system with color axis
- Appearance of color, opacity and thickness axes
- Color axis
- Tiles plot
- Volumetric cube plots
Cubes
Cursor
Data analysis
- Fitting data with functions
- Generating histograms
- Generating pseudo-random numbers
- Integrating ordinary differential equations (ODE)
- Multi-peak fitting
- One-dimensional discrete Fourier transform
- Parsing CSV resources
- Parsing mathematical expressions
- Solving systems of equations
- Two-dimensional discrete Fourier transform
Event
- Interactive data updates
- Limiting the range of an axis
- Polygon cursor
- Range cursor
- Reacting to changes of axis limits
- Reciprocal axis mapping
- Slider events
- Synchronizing two axes
Figure
- Background color of a figure
- Export a figure as PNG
- Graph layout with stretch factors
- Pause and resume the rendering of a figure
Function fitting
Graph
- Aspect ratio of graphs
- Capture the view of a graph
- Graph layout with stretch factors
- Graph titles
- Multiple graphs in one figure
- Show all data within a graph
Layout
Lines
Mapping
Math syntax
Opacity axis
- 3D coordinate system with opacity axis
- Animation
- Appearance of color, opacity and thickness axes
- Opacity axis
- Volumetric cube plots
Pixels
Plot
- Adaptive bar histograms
- Appearance of point and line plots
- Bar plots
- Error bars
- Error fills
- Filled areas below lines
- Fine-tuning the drawing order using the render index
- Hiding a plot
- Interactive data updates
- Pixel plot
- Point shape
- Tiles plot
- Volumetric cube plots
Points
Serial communication
Slider
Thickness axis
- 3D coordinate system with thickness axis
- Appearance of color, opacity and thickness axes
- Thickness axis