Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
PngPlotter.hpp File Reference

High-resolution PNG image plotter declaration. More...

#include "analysis/DistributionFunctions.hpp"
#include "plotters/PlotTypes.hpp"
#include <map>
#include <string>
#include <vector>
Include dependency graph for PngPlotter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  correlation
namespace  correlation::plotters

Functions

void correlation::plotters::renderHistogramAsPng (const correlation::analysis::Histogram &hist, const std::string &filepath, const PlotConfig &config={}, const std::map< std::string, real_t > &ashcroft_weights={}, int dpi=300)
 Renders a single histogram dataset as a high-resolution PNG image.
void correlation::plotters::renderComparisonPng (const std::vector< LabeledHistogram > &datasets, const std::string &partial_key, const std::string &filepath, const PlotConfig &config={}, int dpi=300)
 Renders multiple comparison histograms as a high-resolution PNG image.

Detailed Description

High-resolution PNG image plotter declaration.

License
SPDX-License-Identifier: AGPL-3.0-only