NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
PlotData Class Reference

This class contains all the plot settings usable by the plotting algorithm. More...

#include <plotdata.hpp>

Inheritance diagram for PlotData:
Collaboration diagram for PlotData:

Public Types

enum  RangeType { ALLRANGES = -1 , ONLYLEFT = -2 , ONLYRIGHT = -3 , COLSTART = 0 }
 
enum  ParamType { ALL = 0 , LOCAL = 1 , GLOBAL = 2 , SUPERGLOBAL = 4 }
 
enum  LogicalPlotSetting {
  LOG_ALLHIGHRES , LOG_ALPHA , LOG_ALPHAMASK , LOG_ANIMATE ,
  LOG_AREA , LOG_BOX , LOG_BOXPLOT , LOG_CLOUDPLOT ,
  LOG_COLORBAR , LOG_COLORMASK , LOG_CONNECTPOINTS , LOG_CONTFILLED ,
  LOG_CONTLABELS , LOG_CONTPROJ , LOG_CRUST , LOG_CUTBOX ,
  LOG_DRAWPOINTS , LOG_FIXEDLENGTH , LOG_FLOW , LOG_INTERPOLATE ,
  LOG_XERROR , LOG_YERROR , LOG_OPENIMAGE , LOG_ORTHOPROJECT ,
  LOG_PARAMETRIC , LOG_PIPE , LOG_REGION , LOG_SCHEMATIC ,
  LOG_SILENTMODE , LOG_STEPPLOT , LOG_TABLE , LOG_SETTING_SIZE
}
 
enum  IntPlotSetting {
  INT_ANIMATESAMPLES , INT_AXIS , INT_COMPLEXMODE , INT_CONTLINES ,
  INT_COORDS , INT_GRID , INT_HIGHRESLEVEL , INT_LEGENDPOSITION ,
  INT_LEGENDSTYLE , INT_LIGHTING , INT_MARKS , INT_SAMPLES ,
  INT_SIZE_X , INT_SIZE_Y , INT_SETTING_SIZE
}
 
enum  FloatPlotSetting {
  FLOAT_ALPHAVAL , FLOAT_ASPECT , FLOAT_BARS , FLOAT_HBARS ,
  FLOAT_PERSPECTIVE , FLOAT_TEXTSIZE , FLOAT_SETTING_SIZE
}
 
enum  StringPlotSetting {
  STR_AXISBIND , STR_BACKGROUND , STR_BACKGROUNDCOLORSCHEME , STR_COLORS ,
  STR_COLORSCHEME , STR_COLORSCHEMELIGHT , STR_COLORSCHEMEMEDIUM , STR_COMPOSEDTITLE ,
  STR_CONTCOLORS , STR_CONTGREYS , STR_FILENAME , STR_FONTSTYLE ,
  STR_GREYS , STR_GRIDSTYLE , STR_LINESIZES , STR_LINESTYLES ,
  STR_LINESTYLESGREY , STR_PLOTTITLE , STR_POINTSTYLES , STR_SETTING_SIZE
}
 

Public Member Functions

 PlotData ()
 PlotData constructor. Calls PlotData::reset() for initialisation. More...
 
void setParams (const std::string &__sCmd, int nType=ALL)
 Identifies parameters and values in the passed parameter string and updates the selected type of the parameters correspondingly. More...
 
std::string getParams (bool asstr=false) const
 Return the internal plotting parameters as a human-readable string. Can be converted to an internal string using the additional parameter. More...
 
std::string getAxisLabel (size_t axis) const
 Return the axis label associated to the selected axis. More...
 
void setSamples (int _nSamples)
 Change the number of samples. More...
 
void setFileName (std::string _sFileName)
 Change the output file name. More...
 
void reset ()
 Resets all settings to the initialisation stage. More...
 
void deleteData (bool bGraphFinished=false)
 Delete the internal per-plot data (i.e. weak reset). More...
 
void setGlobalComposeParams (const std::string &__sCmd)
 
void setLocalComposeParams (const std::string &__sCmd)
 
IntervalSetgetRanges ()
 
bool getSettings (LogicalPlotSetting setting) const
 
int getSettings (IntPlotSetting setting) const
 
double getSettings (FloatPlotSetting setting) const
 
std::string getSettings (StringPlotSetting setting) const
 
bool getRangeSetting (int i=0) const
 
bool getInvertion (int i=0) const
 
double getAxisScale (int i=0) const
 
void setFont (const std::string &Font)
 
std::string getAxisbind (unsigned int i) const
 
int getGivenRanges () const
 
bool getLogscale (size_t i) const
 
double getRotateAngle (int _i=0) const
 
int getAnimateSamples () const
 
double getOrigin (int nDir=0) const
 
unsigned short getSlices (unsigned int nDir=0) const
 
std::string getColorScheme (const std::string &_sAddOpt="") const
 
std::string getColorSchemeMedium (const std::string &_sAddOpt="") const
 
std::string getColorSchemeLight (const std::string &_sAddOpt="") const
 
std::string getColors () const
 
std::string getContColors () const
 
std::string getLineStyles () const
 
std::string getGridStyle () const
 
std::string getFineGridStyle () const
 
const std::vector< Line > & getHLines () const
 
const std::vector< Line > & getVLines () const
 
Axis getAddAxis (unsigned int i=0) const
 
void setAddAxis (unsigned int i, const Interval &_ivl)
 
TimeAxis getTimeAxis (unsigned int i=0) const
 
const int * getTargetGUI () const
 
std::string getTickTemplate (int nAxis=0) const
 
std::string getCustomTick (int nAxis=0) const
 
- Public Member Functions inherited from FileSystem
 FileSystem ()
 Default constructor. More...
 
FileSystemassign (const FileSystem &_fSys)
 Assignment member function to copy the settings from another FileSystem instance. More...
 
std::string ValidFileName (std::string _sFileName, const std::string sExtension=".dat", bool checkExtension=true, bool doCleanPath=true) const
 This member function evaluates, whether the passed filename is a valid filename. One may supply a preferred filename extension. More...
 
std::string ValidFolderName (std::string _sFileName, bool doCleanPath=true, bool appendTrailingSeparator=true) const
 This member function evaluates, whether the passed foldername is a valid foldername. More...
 
std::string ValidizeAndPrepareName (const std::string &_sFileName, const std::string &sExtension=".dat") const
 This member function validizes the passed file name and creates the needed folders on-the-fly. More...
 
int setPath (std::string _sPath, bool bMkDir, std::string _sExePath)
 This member function may be used to set the preferred file path of the current FileSystem instance. More...
 
void createRevisionsFolder ()
 This member function creates the hidden revisions folders for the version control system. More...
 
std::string getPath () const
 Returns the default path of this FileSystem instance. More...
 
std::vector< std::string > getFileParts (const std::string &sFilePath) const
 This member function separates all path parts into single strings: the drive letter, the path, the name and the extension. This function may also handle folder paths and network paths. More...
 
FileInfo getFileInfo (const std::string &sFilePath) const
 Return the file information about the passed file path. More...
 
void setTokens (std::string _sTokens)
 This member function may be used to update the path placeholders of the current FileSystem instance. More...
 
bool isFile (const std::string &_sPath) const
 This function determines, whether a path name indicates a file or a folder. More...
 
void initializeFromKernel ()
 Member function to remote-initialize the class from the kernel. Cannot be used during kernel start-up. More...
 
void setProgramPath (std::string _sExePath)
 
std::string getProgramPath () const
 
void declareFileType (const std::string &sFileType)
 

Private Member Functions

 PlotData (const PlotData &)=delete
 
PlotDataoperator= (const PlotData &)=delete
 
void replaceControlChars (std::string &sString)
 Replaces tab and newlines correspondingly. More...
 
std::string removeSurroundingQuotationMarks (const std::string &sString)
 Removes surrounding quotation marks. More...
 
void rangeByPercentage (double *dData, size_t nLength, double dLowerPercentage, double dUpperPercentage, std::vector< double > &vRanges)
 

Private Attributes

IntervalSet ranges
 
int nRanges
 
int nRequestedLayers
 
bool bRanges [4]
 
bool bMirror [4]
 
bool bDefaultAxisLabels [3]
 
bool bLogscale [4]
 
std::string sAxisLabels [3]
 
std::string sTickTemplate [4]
 
std::string sCustomTicks [4]
 
double dRotateAngles [2]
 
double dAxisScale [4]
 
double dOrigin [3]
 
unsigned short nSlices [3]
 
int nTargetGUI [2]
 
bool logicalSettings [LOG_SETTING_SIZE]
 
int intSettings [INT_SETTING_SIZE]
 
double floatSettings [FLOAT_SETTING_SIZE]
 
std::string stringSettings [STR_SETTING_SIZE]
 
std::vector< Line_lHlines
 
std::vector< Line_lVLines
 
Axis _AddAxes [2]
 
TimeAxis _timeAxes [4]
 

Additional Inherited Members

- Protected Member Functions inherited from FileSystem
int createFolders (const std::string &_sPath) const
 This member function creates all missing directories in the passed path. More...
 
- Protected Attributes inherited from FileSystem
std::string sPath
 
std::string sExecutablePath
 
std::string sTokens [7][2]
 
std::string sValidExtensions
 

Detailed Description

This class contains all the plot settings usable by the plotting algorithm.

Definition at line 41 of file plotdata.hpp.

Member Enumeration Documentation

◆ FloatPlotSetting

Enumerator
FLOAT_ALPHAVAL 
FLOAT_ASPECT 
FLOAT_BARS 
FLOAT_HBARS 
FLOAT_PERSPECTIVE 
FLOAT_TEXTSIZE 
FLOAT_SETTING_SIZE 

Definition at line 115 of file plotdata.hpp.

◆ IntPlotSetting

Enumerator
INT_ANIMATESAMPLES 
INT_AXIS 
INT_COMPLEXMODE 
INT_CONTLINES 
INT_COORDS 
INT_GRID 
INT_HIGHRESLEVEL 
INT_LEGENDPOSITION 
INT_LEGENDSTYLE 
INT_LIGHTING 
INT_MARKS 
INT_SAMPLES 
INT_SIZE_X 
INT_SIZE_Y 
INT_SETTING_SIZE 

Definition at line 96 of file plotdata.hpp.

◆ LogicalPlotSetting

Enumerator
LOG_ALLHIGHRES 
LOG_ALPHA 
LOG_ALPHAMASK 
LOG_ANIMATE 
LOG_AREA 
LOG_BOX 
LOG_BOXPLOT 
LOG_CLOUDPLOT 
LOG_COLORBAR 
LOG_COLORMASK 
LOG_CONNECTPOINTS 
LOG_CONTFILLED 
LOG_CONTLABELS 
LOG_CONTPROJ 
LOG_CRUST 
LOG_CUTBOX 
LOG_DRAWPOINTS 
LOG_FIXEDLENGTH 
LOG_FLOW 
LOG_INTERPOLATE 
LOG_XERROR 
LOG_YERROR 
LOG_OPENIMAGE 
LOG_ORTHOPROJECT 
LOG_PARAMETRIC 
LOG_PIPE 
LOG_REGION 
LOG_SCHEMATIC 
LOG_SILENTMODE 
LOG_STEPPLOT 
LOG_TABLE 
LOG_SETTING_SIZE 

Definition at line 60 of file plotdata.hpp.

◆ ParamType

Enumerator
ALL 
LOCAL 
GLOBAL 
SUPERGLOBAL 

Definition at line 52 of file plotdata.hpp.

◆ RangeType

Enumerator
ALLRANGES 
ONLYLEFT 
ONLYRIGHT 
COLSTART 

Definition at line 44 of file plotdata.hpp.

◆ StringPlotSetting

Enumerator
STR_AXISBIND 
STR_BACKGROUND 
STR_BACKGROUNDCOLORSCHEME 
STR_COLORS 
STR_COLORSCHEME 
STR_COLORSCHEMELIGHT 
STR_COLORSCHEMEMEDIUM 
STR_COMPOSEDTITLE 
STR_CONTCOLORS 
STR_CONTGREYS 
STR_FILENAME 
STR_FONTSTYLE 
STR_GREYS 
STR_GRIDSTYLE 
STR_LINESIZES 
STR_LINESTYLES 
STR_LINESTYLESGREY 
STR_PLOTTITLE 
STR_POINTSTYLES 
STR_SETTING_SIZE 

Definition at line 126 of file plotdata.hpp.

Constructor & Destructor Documentation

◆ PlotData() [1/2]

PlotData::PlotData ( const PlotData )
privatedelete

◆ PlotData() [2/2]

PlotData::PlotData ( )

PlotData constructor. Calls PlotData::reset() for initialisation.

Definition at line 216 of file plotdata.cpp.

References reset().

Here is the call graph for this function:

Member Function Documentation

◆ deleteData()

void PlotData::deleteData ( bool  bGraphFinished = false)

Delete the internal per-plot data (i.e. weak reset).

Parameters
bGraphFinishedbool
Returns
void

Definition at line 2011 of file plotdata.cpp.

References _AddAxes, _lHlines, _lVLines, _timeAxes, bDefaultAxisLabels, bMirror, bRanges, CRANGE, dAxisScale, TimeAxis::deactivate(), INT_HIGHRESLEVEL, INT_LEGENDSTYLE, intSettings, Axis::ivl, LOG_ALLHIGHRES, LOG_PARAMETRIC, logicalSettings, nRanges, nRequestedLayers, nTargetGUI, ranges, Interval::reset(), sAxisLabels, sCustomTicks, SECAXIS_DEFAULT_COLOR, Axis::sLabel, Axis::sStyle, STR_AXISBIND, STR_BACKGROUND, STR_COLORS, STR_COMPOSEDTITLE, STR_CONTCOLORS, STR_CONTGREYS, STR_FILENAME, STR_GREYS, STR_LINESIZES, STR_LINESTYLES, STR_LINESTYLESGREY, STR_PLOTTITLE, STR_POINTSTYLES, stringSettings, XRANGE, YRANGE, and ZRANGE.

Referenced by createPlot(), and Plot::createSubPlotSet().

Here is the call graph for this function:

◆ getAddAxis()

Axis PlotData::getAddAxis ( unsigned int  i = 0) const
inline

Definition at line 363 of file plotdata.hpp.

References _AddAxes, Axis::ivl, Interval::reset(), SECAXIS_DEFAULT_COLOR, Axis::sLabel, and Axis::sStyle.

Referenced by Plot::CoordSettings(), Plot::defaultRanges(), Plot::fitPlotRanges(), and hasSecAxisBox().

Here is the call graph for this function:

◆ getAnimateSamples()

◆ getAxisbind()

std::string PlotData::getAxisbind ( unsigned int  i) const
inline

Definition at line 260 of file plotdata.hpp.

References STR_AXISBIND, and stringSettings.

Referenced by Plot::separateFunctionsAndData().

◆ getAxisLabel()

std::string PlotData::getAxisLabel ( size_t  axis) const

Return the axis label associated to the selected axis.

Parameters
axissize_t
Returns
std::string

Definition at line 2521 of file plotdata.cpp.

References bDefaultAxisLabels, CPLX_PLANE, getLabelDefinitions(), INT_COMPLEXMODE, INT_COORDS, intSettings, replaceToTeX(), sAxisLabels, XCOORD, YCOORD, and ZCOORD.

Referenced by Plot::CoordSettings().

Here is the call graph for this function:

◆ getAxisScale()

double PlotData::getAxisScale ( int  i = 0) const
inline

◆ getColors()

std::string PlotData::getColors ( ) const
inline

◆ getColorScheme()

std::string PlotData::getColorScheme ( const std::string &  _sAddOpt = "") const
inline

◆ getColorSchemeLight()

std::string PlotData::getColorSchemeLight ( const std::string &  _sAddOpt = "") const
inline

Definition at line 317 of file plotdata.hpp.

References STR_COLORSCHEMELIGHT, and stringSettings.

Referenced by Plot::applyColorbar(), Plot::create3dPlot(), and Plot::plot2d().

◆ getColorSchemeMedium()

std::string PlotData::getColorSchemeMedium ( const std::string &  _sAddOpt = "") const
inline

Definition at line 312 of file plotdata.hpp.

References STR_COLORSCHEMEMEDIUM, and stringSettings.

Referenced by Plot::create3dPlot(), and Plot::plot2d().

◆ getContColors()

std::string PlotData::getContColors ( ) const
inline

Definition at line 329 of file plotdata.hpp.

References STR_COLORSCHEME, STR_CONTCOLORS, STR_CONTGREYS, and stringSettings.

◆ getCustomTick()

std::string PlotData::getCustomTick ( int  nAxis = 0) const
inline

Definition at line 416 of file plotdata.hpp.

References sCustomTicks.

Referenced by Plot::CoordSettings().

◆ getFineGridStyle()

std::string PlotData::getFineGridStyle ( ) const
inline

◆ getGivenRanges()

int PlotData::getGivenRanges ( ) const
inline

Definition at line 268 of file plotdata.hpp.

References nRanges.

Referenced by Plot::defaultRanges(), and Plot::fitPlotRanges().

◆ getGridStyle()

std::string PlotData::getGridStyle ( ) const
inline

◆ getHLines()

const std::vector< Line > & PlotData::getHLines ( ) const
inline

Definition at line 353 of file plotdata.hpp.

References _lHlines.

Referenced by Plot::createStdPlot().

◆ getInvertion()

bool PlotData::getInvertion ( int  i = 0) const
inline

Definition at line 238 of file plotdata.hpp.

References bMirror.

Referenced by Plot::passRangesToGraph().

◆ getLineStyles()

std::string PlotData::getLineStyles ( ) const
inline

Definition at line 336 of file plotdata.hpp.

References STR_COLORSCHEME, STR_LINESTYLES, STR_LINESTYLESGREY, and stringSettings.

Referenced by Plot::setStyles().

◆ getLogscale()

◆ getOrigin()

double PlotData::getOrigin ( int  nDir = 0) const
inline

Definition at line 291 of file plotdata.hpp.

References dOrigin.

Referenced by Plot::CoordSettings().

◆ getParams()

std::string PlotData::getParams ( bool  asstr = false) const

Return the internal plotting parameters as a human-readable string. Can be converted to an internal string using the additional parameter.

Parameters
asstrbool
Returns
std::string

Definition at line 2084 of file plotdata.cpp.

References bLogscale, CPLX_PLANE, CPLX_REIM, dAxisScale, dOrigin, dRotateAngles, FLOAT_ASPECT, FLOAT_BARS, FLOAT_HBARS, FLOAT_PERSPECTIVE, FLOAT_TEXTSIZE, floatSettings, getColorSchemes(), getGenericSwitches(), NumeReKernel::getInstance(), Settings::getPrecision(), NumeReKernel::getSettings(), INT_ANIMATESAMPLES, INT_COMPLEXMODE, INT_COORDS, INT_GRID, INT_HIGHRESLEVEL, INT_LEGENDPOSITION, INT_LEGENDSTYLE, INT_LIGHTING, INT_MARKS, intSettings, mu::isnan(), LOG_ALPHA, LOG_ANIMATE, LOG_CONTLABELS, LOG_CONTPROJ, LOG_FLOW, LOG_PIPE, logicalSettings, nSlices, ranges, sCustomTicks, sTickTemplate, STR_AXISBIND, STR_BACKGROUND, STR_BACKGROUNDCOLORSCHEME, STR_COLORS, STR_COLORSCHEME, STR_FONTSTYLE, STR_GRIDSTYLE, STR_LINESIZES, STR_LINESTYLES, STR_POINTSTYLES, stringSettings, toString(), TRANGE, and XRANGE.

Referenced by cmd_get().

Here is the call graph for this function:

◆ getRanges()

IntervalSet & PlotData::getRanges ( )
inline

◆ getRangeSetting()

bool PlotData::getRangeSetting ( int  i = 0) const
inline

Definition at line 230 of file plotdata.hpp.

References bRanges.

Referenced by Plot::defaultRanges(), Plot::fitPlotRanges(), and Plot::passRangesToGraph().

◆ getRotateAngle()

double PlotData::getRotateAngle ( int  _i = 0) const
inline

◆ getSettings() [1/4]

double PlotData::getSettings ( FloatPlotSetting  setting) const
inline

Definition at line 220 of file plotdata.hpp.

References floatSettings.

◆ getSettings() [2/4]

int PlotData::getSettings ( IntPlotSetting  setting) const
inline

Definition at line 215 of file plotdata.hpp.

References intSettings.

◆ getSettings() [3/4]

◆ getSettings() [4/4]

std::string PlotData::getSettings ( StringPlotSetting  setting) const
inline

Definition at line 225 of file plotdata.hpp.

References stringSettings.

◆ getSlices()

unsigned short PlotData::getSlices ( unsigned int  nDir = 0) const
inline

Definition at line 299 of file plotdata.hpp.

References nSlices.

Referenced by Plot::create3dPlot().

◆ getTargetGUI()

const int * PlotData::getTargetGUI ( ) const
inline

Definition at line 403 of file plotdata.hpp.

References nTargetGUI.

Referenced by createPlot().

◆ getTickTemplate()

std::string PlotData::getTickTemplate ( int  nAxis = 0) const
inline

Definition at line 408 of file plotdata.hpp.

References sTickTemplate.

Referenced by Plot::CoordSettings().

◆ getTimeAxis()

TimeAxis PlotData::getTimeAxis ( unsigned int  i = 0) const
inline

Definition at line 393 of file plotdata.hpp.

References _timeAxes.

Referenced by Plot::CoordSettings(), createPlotForHist1D(), and createPlotsForHist2D().

◆ getVLines()

const std::vector< Line > & PlotData::getVLines ( ) const
inline

Definition at line 358 of file plotdata.hpp.

References _lVLines.

Referenced by Plot::createStdPlot().

◆ operator=()

PlotData & PlotData::operator= ( const PlotData )
privatedelete

◆ rangeByPercentage()

void PlotData::rangeByPercentage ( double *  dData,
size_t  nLength,
double  dLowerPercentage,
double  dUpperPercentage,
std::vector< double > &  vRanges 
)
private

◆ removeSurroundingQuotationMarks()

std::string PlotData::removeSurroundingQuotationMarks ( const std::string &  sString)
private

Removes surrounding quotation marks.

Parameters
sStringconst std::string&
Returns
std::string

Definition at line 2468 of file plotdata.cpp.

Referenced by setParams().

◆ replaceControlChars()

void PlotData::replaceControlChars ( std::string &  sString)
private

Replaces tab and newlines correspondingly.

Parameters
sStringstd::string&
Returns
void

Definition at line 2445 of file plotdata.cpp.

Referenced by setParams().

◆ reset()

◆ setAddAxis()

void PlotData::setAddAxis ( unsigned int  i,
const Interval _ivl 
)
inline

Definition at line 376 of file plotdata.hpp.

References _AddAxes, Interval::back(), Interval::front(), mu::isnan(), Axis::ivl, and Axis::sLabel.

Referenced by Plot::fitPlotRanges().

Here is the call graph for this function:

◆ setFileName()

void PlotData::setFileName ( std::string  _sFileName)

Change the output file name.

Parameters
_sFileNamestd::string
Returns
void

Definition at line 2411 of file plotdata.cpp.

References FileSystem::sPath, STR_FILENAME, stringSettings, and FileSystem::ValidizeAndPrepareName().

Referenced by Plot::filename(), and NumeReKernel::resetAfterError().

Here is the call graph for this function:

◆ setFont()

void PlotData::setFont ( const std::string &  Font)
inline

Definition at line 254 of file plotdata.hpp.

References STR_FONTSTYLE, and stringSettings.

Referenced by cmd_set().

◆ setGlobalComposeParams()

void PlotData::setGlobalComposeParams ( const std::string &  __sCmd)
inline

Definition at line 195 of file plotdata.hpp.

References GLOBAL, setParams(), and SUPERGLOBAL.

Referenced by Plot::Plot().

Here is the call graph for this function:

◆ setLocalComposeParams()

void PlotData::setLocalComposeParams ( const std::string &  __sCmd)
inline

Definition at line 200 of file plotdata.hpp.

References LOCAL, and setParams().

Referenced by Plot::createSubPlotSet().

Here is the call graph for this function:

◆ setParams()

void PlotData::setParams ( const std::string &  __sCmd,
int  nType = ALL 
)

Identifies parameters and values in the passed parameter string and updates the selected type of the parameters correspondingly.

Parameters
__sCmdconst string&
nTypeint
Returns
void

Definition at line 233 of file plotdata.cpp.

References _AddAxes, _fontData, _lHlines, _lVLines, _timeAxes, TimeAxis::activate(), ALL, ARGEXTRACT_ASSTRING, ARGEXTRACT_PARSED, ARGEXTRACT_STRIPPED, AXIS_EQUAL, AXIS_NICE, AXIS_NONE, AXIS_STD, bDefaultAxisLabels, bLogscale, bMirror, bRanges, CARTESIAN, date::ceil(), checkColorChars(), checkLineChars(), checkPointChars(), CPLX_NONE, CPLX_PLANE, CPLX_REIM, CRANGE, dAxisScale, dOrigin, dRotateAngles, mu::ParserBase::Eval(), evaluateNumerical(), findParameter(), FLOAT_ALPHAVAL, FLOAT_ASPECT, FLOAT_BARS, FLOAT_HBARS, FLOAT_PERSPECTIVE, FLOAT_TEXTSIZE, floatSettings, date::floor(), getAllArguments(), getArgAtPos(), getColorSchemes(), getGenericSwitches(), NumeReKernel::getInstance(), getNextArgument(), NumeReKernel::getParser(), GLOBAL, INT_ANIMATESAMPLES, INT_AXIS, INT_COMPLEXMODE, INT_CONTLINES, INT_COORDS, INT_GRID, INT_HIGHRESLEVEL, INT_LEGENDPOSITION, INT_LEGENDSTYLE, INT_LIGHTING, INT_MARKS, INT_SAMPLES, INT_SIZE_X, INT_SIZE_Y, intCast(), intSettings, mu::isinf(), isInQuotes(), mu::isnan(), Axis::ivl, LOCAL, LOG_ALLHIGHRES, LOG_ALPHA, LOG_ANIMATE, LOG_CONTFILLED, LOG_CONTLABELS, LOG_CONTPROJ, LOG_FLOW, LOG_PARAMETRIC, LOG_PIPE, LOG_XERROR, LOG_YERROR, logicalSettings, nRanges, nSlices, nTargetGUI, POLAR_PZ, POLAR_RP, POLAR_RZ, ranges, mu::real(), removeSurroundingQuotationMarks(), replaceControlChars(), reset(), Interval::reset(), sAxisLabels, sCustomTicks, SECAXIS_DEFAULT_COLOR, mu::ParserBase::SetExpr(), Axis::sLabel, SPHERICAL_PT, SPHERICAL_RP, SPHERICAL_RT, Axis::sStyle, sTickTemplate, FileSystem::sTokens, STR_AXISBIND, STR_BACKGROUND, STR_BACKGROUNDCOLORSCHEME, STR_COLORS, STR_COLORSCHEME, STR_COLORSCHEMELIGHT, STR_COLORSCHEMEMEDIUM, STR_COMPOSEDTITLE, STR_FILENAME, STR_FONTSTYLE, STR_GRIDSTYLE, STR_LINESIZES, STR_LINESTYLES, STR_LINESTYLESGREY, STR_PLOTTITLE, STR_POINTSTYLES, stringSettings, StripSpaces(), STYLES_COUNT, SUPERGLOBAL, toLowerCase(), TRANGE, FileSystem::ValidFileName(), FileSystem::ValidizeAndPrepareName(), XRANGE, YRANGE, and ZRANGE.

Referenced by cmd_plotting(), Plot::createSubPlotSet(), Plot::Plot(), setGlobalComposeParams(), and setLocalComposeParams().

Here is the call graph for this function:

◆ setSamples()

void PlotData::setSamples ( int  _nSamples)

Change the number of samples.

Parameters
_nSamplesint
Returns
void

Definition at line 2398 of file plotdata.cpp.

References INT_SAMPLES, and intSettings.

Member Data Documentation

◆ _AddAxes

Axis PlotData::_AddAxes[2]
private

Definition at line 174 of file plotdata.hpp.

Referenced by deleteData(), getAddAxis(), reset(), setAddAxis(), and setParams().

◆ _lHlines

std::vector<Line> PlotData::_lHlines
private

Definition at line 172 of file plotdata.hpp.

Referenced by deleteData(), getHLines(), reset(), and setParams().

◆ _lVLines

std::vector<Line> PlotData::_lVLines
private

Definition at line 173 of file plotdata.hpp.

Referenced by deleteData(), getVLines(), reset(), and setParams().

◆ _timeAxes

TimeAxis PlotData::_timeAxes[4]
private

Definition at line 175 of file plotdata.hpp.

Referenced by deleteData(), getTimeAxis(), reset(), and setParams().

◆ bDefaultAxisLabels

bool PlotData::bDefaultAxisLabels[3]
private

Definition at line 156 of file plotdata.hpp.

Referenced by deleteData(), getAxisLabel(), reset(), and setParams().

◆ bLogscale

bool PlotData::bLogscale[4]
private

Definition at line 157 of file plotdata.hpp.

Referenced by getLogscale(), getParams(), reset(), and setParams().

◆ bMirror

bool PlotData::bMirror[4]
private

Definition at line 155 of file plotdata.hpp.

Referenced by deleteData(), getInvertion(), reset(), and setParams().

◆ bRanges

bool PlotData::bRanges[4]
private

Definition at line 154 of file plotdata.hpp.

Referenced by deleteData(), getRangeSetting(), reset(), and setParams().

◆ dAxisScale

double PlotData::dAxisScale[4]
private

Definition at line 162 of file plotdata.hpp.

Referenced by deleteData(), getAxisScale(), getParams(), reset(), and setParams().

◆ dOrigin

double PlotData::dOrigin[3]
private

Definition at line 163 of file plotdata.hpp.

Referenced by getOrigin(), getParams(), reset(), and setParams().

◆ dRotateAngles

double PlotData::dRotateAngles[2]
private

Definition at line 161 of file plotdata.hpp.

Referenced by getParams(), getRotateAngle(), reset(), and setParams().

◆ floatSettings

double PlotData::floatSettings[FLOAT_SETTING_SIZE]
private

Definition at line 169 of file plotdata.hpp.

Referenced by getParams(), getSettings(), reset(), and setParams().

◆ intSettings

int PlotData::intSettings[INT_SETTING_SIZE]
private

◆ logicalSettings

bool PlotData::logicalSettings[LOG_SETTING_SIZE]
private

Definition at line 167 of file plotdata.hpp.

Referenced by deleteData(), getAnimateSamples(), getParams(), getSettings(), reset(), and setParams().

◆ nRanges

int PlotData::nRanges
private

Definition at line 152 of file plotdata.hpp.

Referenced by deleteData(), getGivenRanges(), reset(), and setParams().

◆ nRequestedLayers

int PlotData::nRequestedLayers
private

Definition at line 153 of file plotdata.hpp.

Referenced by deleteData(), and reset().

◆ nSlices

unsigned short PlotData::nSlices[3]
private

Definition at line 164 of file plotdata.hpp.

Referenced by getParams(), getSlices(), reset(), and setParams().

◆ nTargetGUI

int PlotData::nTargetGUI[2]
private

Definition at line 165 of file plotdata.hpp.

Referenced by deleteData(), getTargetGUI(), reset(), and setParams().

◆ ranges

IntervalSet PlotData::ranges
private

Definition at line 151 of file plotdata.hpp.

Referenced by deleteData(), getParams(), getRanges(), reset(), and setParams().

◆ sAxisLabels

std::string PlotData::sAxisLabels[3]
private

Definition at line 158 of file plotdata.hpp.

Referenced by deleteData(), getAxisLabel(), reset(), and setParams().

◆ sCustomTicks

std::string PlotData::sCustomTicks[4]
private

Definition at line 160 of file plotdata.hpp.

Referenced by deleteData(), getCustomTick(), getParams(), reset(), and setParams().

◆ sTickTemplate

std::string PlotData::sTickTemplate[4]
private

Definition at line 159 of file plotdata.hpp.

Referenced by getParams(), getTickTemplate(), reset(), and setParams().

◆ stringSettings


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