Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
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 "color.hpp"
#include "ruler.hpp"
#include "coordmapper.hpp"
#include "graph.hpp"

Go to the source code of this file.

Classes

class  Frame
 General purpose plotter frame for cairographics surfaces. More...
struct  Frame::DObj
 Drawable object in frame.

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

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.

Enumerator:
PLOT_AXIS_X1 
PLOT_AXIS_Y1 
PLOT_AXIS_X2 
PLOT_AXIS_Y2 
PLOT_AXIS_Z 

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.

Enumerator:
PLOT_FIXED_ASPECT_DISABLED 
PLOT_FIXED_ASPECT_EXTEND_RANGE 
PLOT_FIXED_ASPECT_INCREASE_MARGIN 


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:49.