Documentation

Plotting in Divooka

Generate standard plots and custom graphs in Divooka.

Plotting in Divooka

Plotting Example

There are four levels of plotting in Divooka:

  1. Quick, high-level, one-shot plotting
  2. Slightly more advanced configuration based plotting for standard charts
  3. Specialized plotting types with varying levels of customization
  4. In additional to above three, we also support text-based drawing with Dhole

At the moment Divooka doesn't have a way for you to draw completely custom plots - if that's desirable, consider using lower level drawing API and image composition API instead.

In this note, we will go through each type below, and for more details, please refer to API doc or library specific documentation.

Summary of Available Plots

(Work in progress)

Standard

Plot Location Purpose Configurations
Scatter Plot Quick Plot Scatter or line chart. Pending

Dhole Charts

Chart Syntax Example Equivalance
Table ... ...

1. High Level Quick Plotting

Plotting is typically provided in Plotting > Quick Plot toolbox, with additional configurations in Plotting Configurations category.

Plotting Toolboxes

To draw a given plot, pick the plot type node, then supply required parameters.

Basic Setup

2. Configuration Based Standard Plots

This method has limitation on the possible type of plots and may become cumbersome for advanced customization.

👉 Download the example source file used in this section

Supported series/objects:

1. Annotation

Creates an annotation text plottable on the chart.

Annotation

2. Arrow

Creates an arrow plottable with specified start and end coordinates.

Arrow

3. Bars

Creates a bar plot plottable from arrays of position and value data.

Bars

4. Benchmark

Creates a benchmark plottable that displays rendering performance metrics.

Benchmark

5. Boxes

Creates a box plot plottable from statistical data arrays.

Boxes

6. Bracket

Creates a bracket plottable between two points with optional labeling.

Bracket

7. Callout

Creates a callout plottable with text and an arrow pointing to a specific location.

Callout

8. Candlestick

Creates a candlestick plot plottable from OHLC (Open-High-Low-Close) price data.

Candlestick

9. Contour Lines

Creates a contour lines plottable using two arrays to create a grid with a specified combination method.

Contour Lines

10. Coxcomb

Creates a coxcomb chart (polar bar chart) plottable from a list of values with optional labels.

Coxcomb

11. Crosshair

Creates a crosshair plottable at the specified coordinates with customizable styling.

Crosshair

12. Data Logger

Creates a data logger plottable from arrays of x and y values with customizable styling.

Data Logger

13. Ellipse

Creates an ellipse plottable with specified center, radii, and styling options.

Ellipse

14. Error Bar

Creates a single error bar plottable with specified X, Y values and error ranges.

Error Bar

15. Error Bars

Creates multiple error bars plottable with optional X, Y error ranges.

Error Bars

16. Fill Y

Creates a fill-between-Y-values plottable from arrays of x, top y, and bottom y values.

Fill Y

17. Financial Time Axis

Creates a financial time axis plottable for displaying sequential date data with proper spacing.

Financial Time Axis

18. Function

Creates a mathematical function plottable over a specified range.

Function

19. Heatmap

Creates a heatmap plottable from a 2D array of data values.

Heatmap

20. Histogram Bars

Creates a histogram bars plottable from an array of values with automatic binning.

Histogram Bars

21. Horizontal Line

Creates a horizontal line plottable at the specified Y coordinate.

Horizontal Line

22. Horizontal Span

Creates a horizontal span plottable between two X coordinates.

Horizontal Span

23. Image Marker & Image Rect

Creates image plottables that display images at specific coordinates or within rectangles.

Image Marker and Image Rect

24. Iso Lines

Creates isolines (diagonal reference lines) plottable with customizable positioning and appearance.

Iso Lines

25. Line

Creates a line plottable between two Vector2D points.

Line

26. Lollipop

Creates a lollipop plot plottable from arrays of x and y values.

Lollipop

27. Marker

Creates a single marker plottable at the specified coordinates.

Marker

28. Markers

Creates multiple markers plottable from arrays of x and y coordinates.

Markers

29. OHLC

Creates an OHLC (Open-High-Low-Close) plottable from arrays of price data.

OHLC

30. Phasor

Creates a phasor plottable that displays arrows from the origin to points in polar coordinates.

Phasor

31. Pie

Creates a pie chart plottable from a list of values with optional labels.

Pie

32. Polar Axis

Creates a polar axis plottable with customizable spokes and circles for polar coordinate plotting.

Polar Axis

33. Polygon

Creates a polygon plottable from arrays of x and y coordinates.

Polygon

34. Population

Creates a population plot plottable showing the distribution of data points with optional statistical displays.

Population

35. Radar

Creates a radar chart plottable with multiple series displaying values on polar axes.

Radar

36. Radial Gauge

Creates a radial gauge chart with multiple gauges representing scalar values.

Radial Gauge

37. Rectangle

Creates a rectangle plottable with specified coordinates and styling.

Rectangle

38. Scale Bar

Creates a scale bar plottable for indicating measurement scales on plots.

Scale Bar

39. Scatter

Creates a scatter plot plottable from arrays of x and y values.

Scatter

40. Signal

Creates a fast-rendering time series signal plottable from arrays of x and y values.

Signal

41. Smith Chart Axis

Creates a Smith chart axis plottable for RF and microwave engineering applications.

Smith Chart Axis

42. Text

Creates a text label plottable at the specified coordinates.

Text

43. TIN Plot

Creates a TIN (Triangulated Irregular Network) plottable for 3D surface representation.

TIN Plot

44. Tooltip

Creates a tooltip plottable that displays text with an arrow pointing to a specific location.

Tooltip

45. Triangular Axis

Creates a triangular axis for ternary plots with data points and customizable styling.

Triangular Axis

46. Vector Field

Creates a vector field plot displaying arrows at specified points with given vector components.

Vector Field

47. Vertical Line

Creates a vertical line plottable at the specified X coordinate.

Vertical Line

48. Vertical Span

Creates a vertical span plottable between two Y coordinates.

Vertical Span

Supported Configuration Elements:

  • Plot title - WithTitle(string title)
  • X Axis Label - WithXAxis(string xAxisLabel)
  • Y Axis Label - WithYAxis(string yAxisLabel)
  • Floating Axes - Support for custom positioned axes Floating Axes

3. Specialized Plots

Those are typically exposed through QuickPlot as well.

  1. QR Code
  2. Population Pyramid
  3. And more!

4. Dhole

Dhole Setup

References