libpgplotxx.a (C++ interface to PGPLOT)
pgplot::Tboxstyle Class Reference

box style More...

#include <xpgplotxx.h>

Collaboration diagram for pgplot::Tboxstyle:

Public Member Functions

 Tboxstyle (const bool &tbox=false)
 
template<class T >
T & operator() (T &dev) const
 apply boxstyle to device context More...
 
modification functions
Tboxstylesetmode (const int &elem, const int &modes, const bool &set=true)
 general mode setting More...
 
Tboxstylesetstyle (const int &elem, const Tlinestyle &style)
 set linestyle More...
 
Tboxstylesetxtickint (const int &minor=0, const float &major=0.)
 set x-ticks interval More...
 
Tboxstylesetytickint (const int &minor=0, const float &major=0.)
 set y-ticks interval More...
 

Private Member Functions

void apply (basic_device &dev) const
 apply to basic device class More...
 
void issuecommand (basic_device &dev, const Tlinestyle &linestyle, const char *xopt, const char *yopt) const
 issue appropriate box command More...
 

Private Attributes

grid configuration
int Mgridflags
 has grid More...
 
Tlinestyle Mgridstyle
 grid linestyle More...
 
frame configuration
int Mframeflags
 has frame More...
 
Tlinestyle Mframestyle
 frame linestyle More...
 
axis configuration
int Maxisflags
 has axis More...
 
Tlinestyle Maxisstyle
 axis linestyle More...
 
tick marks configuration
int Mxtickflags
 tick options More...
 
int Mytickflags
 tick options More...
 
float Mxtick
 major tick interval More...
 
float Mytick
 tick options More...
 
int Mxticksub
 tick subintervals More...
 
int Myticksub
 tick options More...
 
Tlinestyle Mticksstyle
 ticks linestyle More...
 
numeric label configuration
int Mxlabelflags
 label options More...
 
int Mylabelflags
 label options More...
 
Tlinestyle Mlabelstyle
 labels linestyle More...
 
time box configuration
bool Mtbox
 is a TBOX More...
 
int Mxtimeflags
 time scale options More...
 
int Mytimeflags
 is a TBOX More...
 

Detailed Description

box style

This class holds a box style

a lot of functionality may be added in the future :-)

The style includes

  • separate linestyles for
    • frame
    • axes (both have the same style)
    • ticks
    • labels (both have the same style)
    • grid
  • for x and y tick marks separately:
    • select or selected; if selected
      • extended
      • inverted
      • major tick marks
      • minor tick marks
    • non-standard timemark intervals if requested
  • elements may be switched on/off individually:
    • axes (with tick marks)
      • x-axis
      • y-axis
    • labels
      • x-labels
      • y-labels
      • for both may be selected independently:
        • opposite or standard location
        • vertical or standard character orientation
        • decimal values
        • exponential values
        • logarithmic scale
    • grid lines
      • vertical
      • horizontal
    • frame
      • left
      • right
      • top
      • bottom
  • if the box is selected to be a time scale box (by constructor) further operations may be applied to x and scales independently:
    • switch time scale on/of
    • select day field
    • present hour value modulo 24h
    • use degree, seconds, and minutes symbols
    • omit first label
    • omit zeros

Definition at line 451 of file xpgplotxx.h.


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