Function cpplot::to_json(nlohmann::json&, const SurfacePlot&)

Function Documentation

void cpplot::to_json(nlohmann::json &j, const SurfacePlot &p)

Serialise surface plot data into a valid json string.

Produces figure data JSON similar to: