Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
PngPlotter.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
13
14#include <map>
15#include <string>
16#include <vector>
17
18namespace correlation::plotters {
19
28void renderHistogramAsPng(const correlation::analysis::Histogram &hist, const std::string &filepath,
29 const PlotConfig &config = {},
30 const std::map<std::string, real_t> &ashcroft_weights = {},
31 int dpi = 300);
32
41void renderComparisonPng(const std::vector<LabeledHistogram> &datasets,
42 const std::string &partial_key, const std::string &filepath,
43 const PlotConfig &config = {}, int dpi = 300);
44
45} // namespace correlation::plotters
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Common types, configuration structures, and palette/formatting utilities for SVG plotting.
Definition ColormapService.hpp:18
void 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.
Definition PngPlotter.cpp:31
void 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.
Definition PngPlotter.cpp:18
Theme and layout configuration for the plot.
Definition PlotTypes.hpp:42