eqpotgraph.hpp
Go to the documentation of this file.
void set_eqlines_auto(size_t N)
Set N automatic equipotential lines to be plotted between minimum potential and maximum potentials.
Definition: eqpotgraph.cpp:69
void disable_cache(void)
Disable internal cache.
Definition: eqpotgraph.cpp:261
virtual void plot(cairo_t *cairo, const Coordmapper *cm, const double range[4])
Plot graph with cairo.
Definition: eqpotgraph.cpp:267
EqPotGraph(const MeshScalarField &epot, const Geometry &geom)
Constructor for equipotential line plot.
Definition: eqpotgraph.cpp:48
virtual void plot_sample(cairo_t *cairo, double x, double y, double width, double height)
Plot sample for legend.
Definition: eqpotgraph.cpp:297
void set_eqlines_manual(const std::vector< double > &pot)
Add manual equipotential lines to be plotted at specified potentials.
Definition: eqpotgraph.cpp:62
virtual void get_bbox(double bbox[4])
Get bounding box of drawable.
Definition: eqpotgraph.cpp:303
Geometry definition
Base for three dimensional plottable graphs.
Mesh based scalar fields.
Three dimensional vectors.