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
frame.hpp File Reference

Frame for plots More...

#include <string>
#include <vector>
#include <cairo.h>
#include "vec3d.hpp"
#include "ruler.hpp"
#include "coordmapper.hpp"
#include "graph.hpp"
#include "legend.hpp"

Go to the source code of this file.

Classes

class  Frame
 General purpose plotter frame for cairographics surfaces. More...
 

Enumerations

enum  PlotFixedMode { PLOT_FIXED_ASPECT_DISABLED = 0 , PLOT_FIXED_ASPECT_EXTEND_RANGE , PLOT_FIXED_ASPECT_INCREASE_MARGIN }
 Fixed aspect ratio setting for frame. More...
 
enum  PlotAxis {
  PLOT_AXIS_X1 = 0 , PLOT_AXIS_Y1 , PLOT_AXIS_X2 , PLOT_AXIS_Y2 ,
  PLOT_AXIS_Z
}
 Axis specification for plots. More...
 

Detailed Description

Frame for plots

Enumeration Type Documentation

◆ PlotAxis

enum PlotAxis

Axis specification for plots.

PLOT_AXIS_X1 is the bottom axis, PLOT_AXIS_Y1 is the left side axis, PLOT_AXIS_X2 is the top axis, PLOT_AXIS_Y2 is the right side axis and PLOT_AXIS_Z is the depth axis for three dimensional plots or colormap plots.

◆ PlotFixedMode

Fixed aspect ratio setting for frame.

Default mode is PLOT_FIXED_ASPECT_DISABLED, which means that the frame axes are independent of each other. The mode PLOT_FIXED_ASPECT_EXTEND_RANGE has fixed aspect ratio, which is made by preserving the plot margins and extending the range of the smaller axis. The mode PLOT_FIXED_ASPECT_INCREASE_MARGIN fixes the aspect ratio by increasing the margin of the larger axis.


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