Function cpplot::to_json(nlohmann::json&, const ColorScale&)¶
- Defined in File surface.h
Function Documentation¶
-
void
cpplot
::
to_json
(nlohmann::json &j, const ColorScale &c) Serialise color scale data into a valid json field or fields.
Produces figure data JSON similar to: