MRPTree v0.5.0.0 examples 0.5.0.0
MR 2^P Trees (MRPTree)
Loading...
Searching...
No Matches
hello_world_regular.cpp File Reference

Minimal example for MR_rect_tree with regular sampling. More...

Go to the source code of this file.

Detailed Description

Minimal example for MR_rect_tree with regular sampling.

Author
Mitch Richling http://www.mitchr.me/
Date
2024-09-16
Keywords
surface plot 2d 3d
Standards
C++23
See also
Details


This program writes a simple tabular file containing the tree's data – one sample per line with space separated coordinates and values. These may be interrupted as points in 3D, and graphed by tools like GNU Plot. On Windows running MSYS2, the following command sequence will produce a graph on the screen:

make hello_world_regular ./hello_world_regular.exe gnuplot.exe ../examples/hello_world_regular.gp

Definition in file hello_world_regular.cpp.