Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.6dev
      Class Index
      File List
   Version 1.0.6
   Version 1.0.5new_solver
   Version 1.0.5dev
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Non-interactive plotter. More...

#include <plotter.hpp>

Inheritance diagram for Plotter:
FieldDiagPlotter GeomPlotter ParticleDiagPlotter

Public Member Functions

void set_size (size_t width, size_t height)
 Set size of plot. More...
 
void set_font_size (size_t size)
 Set font size for plot. More...
 
void set_ranges (double xmin, double ymin, double xmax, double ymax)
 Set ranges of plot in x- and y-directions. More...
 
void get_ranges (double &xmin, double &ymin, double &xmax, double &ymax)
 Get ranges of last plot in x- and y-directions. More...
 
void plot_png (const std::string &filename)
 Make a plot to a PNG-file. More...
 
void plot_eps (const std::string &filename)
 Make a plot to a EPS-file. More...
 
void plot_pdf (const std::string &filename)
 Make a plot to a PDF-file. More...
 
void plot_svg (const std::string &filename)
 Make a plot to a SVG-file. More...
 

Protected Member Functions

 Plotter ()
 Constructor for plotter. More...
 
virtual ~Plotter ()
 Destructor for plotter. More...
 

Protected Attributes

Frame _frame
 

Detailed Description

Non-interactive plotter.

Plotter skeleton for building plots non-interactively.

Constructor & Destructor Documentation

◆ Plotter()

Plotter::Plotter ( )
protected

Constructor for plotter.

Not intended to be used on its own.

◆ ~Plotter()

Plotter::~Plotter ( )
protectedvirtual

Destructor for plotter.

Member Function Documentation

◆ get_ranges()

void Plotter::get_ranges ( double &  xmin,
double &  ymin,
double &  xmax,
double &  ymax 
)

Get ranges of last plot in x- and y-directions.

◆ plot_eps()

void Plotter::plot_eps ( const std::string &  filename)

Make a plot to a EPS-file.

Only defined if cairo supports EPS and CAIRO_HAS_EPS_SURFACE is defined.

◆ plot_pdf()

void Plotter::plot_pdf ( const std::string &  filename)

Make a plot to a PDF-file.

Only defined if cairo supports PDF and CAIRO_HAS_PDF_SURFACE is defined.

◆ plot_png()

void Plotter::plot_png ( const std::string &  filename)

Make a plot to a PNG-file.

Only defined if cairo supports PNG and CAIRO_HAS_PNG_FUNCTIONS is defined.

◆ plot_svg()

void Plotter::plot_svg ( const std::string &  filename)

Make a plot to a SVG-file.

Only defined if cairo supports SVG and CAIRO_HAS_SVG_SURFACE is defined.

◆ set_font_size()

void Plotter::set_font_size ( size_t  size)

Set font size for plot.

◆ set_ranges()

void Plotter::set_ranges ( double  xmin,
double  ymin,
double  xmax,
double  ymax 
)

Set ranges of plot in x- and y-directions.

◆ set_size()

void Plotter::set_size ( size_t  width,
size_t  height 
)
inline

Set size of plot.


The documentation for this class was generated from the following files:


Reference manual for Ion Beam Simulator 1.0.6dev
Generated by Doxygen 1.9.1 on Thu Sep 11 2025 09:37:24.