27 #ifndef PLOTMSPLOTPARAMETERGROUPS_H_
28 #define PLOTMSPLOTPARAMETERGROUPS_H_
331 void setXAxis (
const PMS::Axis & axis,
const PMS::DataColumn &
data,
332 unsigned int index = 0);
333 void setYAxis (
const PMS::Axis & axis,
const PMS::DataColumn &
data,
334 unsigned int index = 0);
336 const PMS::DataColumn & xData,
337 const PMS::DataColumn & yData,
unsigned int index = 0);
340 const std::vector<PMS::Axis> &
xAxes()
const {
349 PMS::Axis
xAxis (
unsigned int index = 0)
const {
351 const_cast< std::vector<PMS::Axis>&
>(
itsXAxes_).resize (index + 1);
364 const std::vector<PMS::Axis>&
yAxes()
const {
373 PMS::Axis
yAxis (
unsigned int index = 0)
const {
375 const_cast< std::vector<PMS::Axis> &
>(
itsYAxes_).resize (index + 1);
400 const_cast < vector < PMS::DataColumn >
426 const_cast < vector < PMS::DataColumn >
441 const vector < PMS::CoordSystem > &
xFrames()
const {
452 const_cast < vector < PMS::CoordSystem >
467 const vector < PMS::CoordSystem > &
yFrames()
const {
478 const_cast < vector < PMS::CoordSystem >
494 const vector < PMS::InterpMethod > &
xInterps()
const {
503 PMS::InterpMethod
xInterp (
unsigned int index = 0)
const {
505 const_cast < vector < PMS::InterpMethod >
520 const vector < PMS::InterpMethod > &
yInterps()
const {
529 PMS::InterpMethod
yInterp (
unsigned int index = 0)
const {
531 const_cast < vector < PMS::InterpMethod >
680 unsigned int index = 0);
682 unsigned int index = 0) {
686 unsigned int index = 0) {
689 void setRanges (
const bool & xSet,
const bool & ySet,
691 unsigned int index = 0);
695 const vector < PlotAxis > &
xAxes()
const {
708 const_cast < vector < PlotAxis > &>(
itsXAxes_).resize (index + 1);
724 const std::vector<PlotAxis> &
yAxes()
const {
737 const_cast < vector < PlotAxis > &>(
itsYAxes_).resize (index + 1);
751 if ( value ==
"right"){
772 const_cast < vector < bool > &>(
itsXRangesSet_).resize (index + 1);
798 const_cast < vector < bool > &>(
itsYRangesSet_).resize (index + 1);
943 unsigned int index = 0);
944 void showAxesLabels (
const bool & xLabelShow,
const bool & yLabelShow,
945 unsigned int index = 0);
948 unsigned int index = 0);
953 unsigned int index = 0) {
958 unsigned int index = 0) {
962 void showGrid (
const bool & showMajor,
const bool & showMinor,
964 const PlotLinePtr & minorLine,
unsigned int index = 0);
982 unsigned int index = 0) {
1003 unsigned int index = 0) {
1168 const_cast < vector < PlotCanvas::LegendPosition >
1173 unsigned int index = 0) {
1299 const_cast < vector < PlotLinePtr >
1324 const_cast < vector < PlotLinePtr >
1441 void setColorize (
const bool & colorize,
const PMS::Axis & axis,
1442 unsigned int index = 0);
1459 int newSize = index+1;
1461 unflaggedSymbols.resize ( newSize);
1462 for (
int j = 0; j < newSize; j++ ){
1463 if ( unflaggedSymbols[j].null() ){
1483 int newSize = index + 1;
1485 flaggedSymbols.resize( newSize );
1486 for (
int j = 0; j < newSize; j++ ){
1487 if ( flaggedSymbols[j].null()){
1806 bool validValue =
false;
1810 else if ( !commonAxis ){
1825 bool validValue =
false;
1829 else if ( !commonAxis ){
void resize(int count, bool copyValues=False)
Change the size of the vectors.
const std::vector< PlotAxis > & yAxes() const
PMS_PP_MSData(PlotFactoryPtr factory)
void setXFrames(const vector< PMS::CoordSystem > &value)
std::vector< bool > itsYLabelsShown_
const std::vector< PMS::Axis > & yAxes() const
void showGridMinor(const bool &show, const PlotLinePtr &line, unsigned int index=0)
bool yRangeSet(unsigned int index=0) const
static const int UPDATE_PAGEHEADER
void setCommonAxisY(bool commonAxis)
PMS::Axis iterAxis() const
Convenience methods for returning the standard field values.
void setYAxisFonts(const vector< casacore::Int > &value)
std::vector< casacore::Int > itsTitleFonts_
bool titleFontSet(unsigned int index=0) const
void setIterParam(PlotMSIterParam iterparam)
void setYDataColumn(const PMS::DataColumn &value, unsigned int index=0)
const casacore::String & name() const
Returns the name of this group of subparameters.
Specifies averaging parameters for an MS.
DirectionAxisParams xDirectionParams(unsigned int index=0) const
static const casacore::String REC_YLABELS
const vector< PlotMSLabelFormat > & titleFormats() const
void setGridMinorLines(const vector< PlotLinePtr > &value)
static const int UPDATE_ITERATION
static const casacore::String REC_YFONTSSET
void setXRanges(const vector< prange_t > &value)
const vector< casacore::Int > & xAxisFonts() const
void setYRange(const bool &set, const prange_t &range, unsigned int index=0)
PlotAxis yAxis(unsigned int index=0) const
void setXRange(const prange_t &value, unsigned int index=0)
void setTitleFont(const casacore::Int value, unsigned int index=0)
const vector< PlotCanvas::LegendPosition > & legendPositions() const
const vector< bool > & xFontsSet() const
void setTitleFormat(const PlotMSLabelFormat &value, unsigned int index=0)
void setCacheType(const casacore::Int &value)
unsigned int numYAxes() const
const casacore::String & name() const
Returns the name of this group of subparameters.
PMS_PP_Axes & assign(const PMS_PP_Axes *o)
Does the work for operator=()s.
Group * clone() const
Abstract Methods //.
casacore::Int itsCacheType_
casacore::Int getGridCol() const
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
static const int UPDATE_PLOTMS_OPTIONS
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
bool xFontSet(unsigned int index=0) const
casacore::Int getGridRow() const
static const casacore::String REC_XAXISFONTS
PlotFactoryPtr factory()
Returns the factory.
void setCommonAxisX(casacore::Bool commonAxisX)
const vector< casacore::String > & xConnects() const
std::vector< prange_t > itsYRanges_
bool isIteration() const
Returns whether or not we are iterating on an axis.
PMS_PP_Cache & operator=(const PMS_PP_Cache &other)
std::vector< PlotAxis > itsXAxes_
static const casacore::String REC_YRANGES
const vector< bool > & yFontsSet() const
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
std::vector< bool > itsXLabelsShown_
void setXRanges(const vector< bool > &value)
void setGlobalScaleY(casacore::Bool globalAxisY)
void showGridMajor(const bool &show, const PlotLinePtr &line, unsigned int index=0)
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
void resizeVectors(unsigned int newSize)
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
const std::vector< PMS::Axis > & xAxes() const
void setXAxis(const PMS::Axis &axis, const PMS::DataColumn &data, unsigned int index=0)
Setting the data and data columns for the x- and y-axes.
const casacore::String & name() const
Returns the name of this group of subparameters.
const casacore::String & name() const
Returns the name of this group of subparameters.
PlotMSCalibration itsCalibration_
PlotMSSelection itsSelection_
const vector< bool > & yLabelsShown() const
void setYDataColumns(const vector< PMS::DataColumn > &value)
void setLegendPositions(const vector< PlotCanvas::LegendPosition > &value)
const vector< bool > & gridMajorsShown() const
PlotSymbolPtr unflaggedSymbol(unsigned int index=0) const
void setYRanges(const vector< bool > &value)
void setXFontsSet(const vector< bool > &value)
void setShowImage(const bool &value)
PMS_PP_Iteration & operator=(const PMS_PP_Iteration &other)
std::vector< PlotMSLabelFormat > itsYLabels_
void setXInterp(const PMS::InterpMethod &value, unsigned int index=0)
Subclass of PlotMSPlotParameters::Group to handle display parameters.
std::vector< bool > itsGridMinsShown_
void setShowAtm(const bool &value)
unsigned int numXAxes() const
Gets how many axes and data columns there are.
PlotMSAveraging itsAveraging_
PMS_PP_Display(PlotFactoryPtr factory)
PMS_PP()
Disable constructor.
const PlotMSLabelFormat & xLabelFormat(unsigned int index=0) const
const vector< PlotSymbolPtr > & unflaggedSymbols() const
static const casacore::String UPDATE_MSDATA_NAME
Update flag for casacore::MS data group.
const vector< bool > & xLabelsShown() const
const casacore::String & name() const
Returns the name of this group of subparameters.
static const casacore::String REC_LEGENDSPOS
String & resize(size_type n)
Resize by truncating or extending with copies of <tt>c</tt> (default Char())
void setYLabelFormats(const vector< PlotMSLabelFormat > &value)
PMS::Axis colorizeAxis(unsigned int index=0) const
static const int UPDATE_AXES
Specifies an casacore::MS selection.
vector< PlotSymbolPtr > itsUnflaggedSymbols_
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
static const casacore::String REC_XINTERPS
const vector< PMS::CoordSystem > & xFrames() const
PMS_PP_MSData & operator=(const PMS_PP_MSData &other)
vector< PlotMSLabelFormat > itsTitleFormats_
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
const vector< PlotMSLabelFormat > & xLabelFormats() const
void setTitleFontSet(const bool &value, unsigned int index=0)
PMS::InterpMethod yInterp(unsigned int index=0) const
const std::vector< bool > & xRangesSet() const
void setXConnects(const vector< casacore::String > &value)
void setGridMajorLine(const PlotLinePtr &value, unsigned int index=0)
casacore::Bool isGlobalAxisY() const
const prange_t & xRange(unsigned int index=0) const
static const casacore::String REC_SHOWGRIDMINS
vector< bool > itsTimeConnects_
void setYFontSet(const bool &value, unsigned int index=0)
static const casacore::String REC_SELECTION
void setTimeConnects(const vector< bool > &value)
const vector< bool > & yRangesSet() const
void setTitleFontsSet(const vector< bool > &value)
void setIterationAxis(const PMS::Axis &value)
void setYAxes(const std::vector< PMS::Axis > &value)
const PlotMSLabelFormat & titleFormat(unsigned int index=0) const
Subclass of PlotMSPlotParameters::Group to handle canvas parameters.
void setFilename(const casacore::String &value)
void setIterAxis(PMS::Axis iterAxis)
Convenience methods for setting the standard field values.
static const casacore::String REC_COLAXES
void setGlobalScaleY(bool globalAxis)
const PlotMSLabelFormat & titleFormat(unsigned int index=0) const
void setXConnect(const casacore::String &value, unsigned int index=0)
std::vector< PlotLinePtr > itsGridMinLines_
const vector< bool > & timeConnects() const
void setGridCol(casacore::Int ny)
void showXLabels(const vector< bool > &value)
const vector< PMS::InterpMethod > & yInterps() const
static const casacore::String REC_YDATACOLS
void setYAxis(casacore::String &value, unsigned int index=0)
static const casacore::String UPDATE_CANVAS_NAME
Update flag for canvas group.
const vector< PlotAxis > & xAxes() const
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
const PlotMSIterParam & iterParam() const
void setLabelFormats(const PlotMSLabelFormat &xFormat, const PlotMSLabelFormat &yFormat, unsigned int index=0)
Sets single versions of the parameters for the given index.
void setCalType(const casacore::String &value)
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
void setGlobalScaleX(casacore::Bool globalAxisX)
static const casacore::String REC_XFRAMES
static const int UPDATE_LOG
void show(const variant &v)
Group * clone() const
Abstract Methods //.
static const casacore::String REC_TRANSFORMATIONS
void setColorize(const vector< bool > &value)
void setAxes(const PMS::Axis &xAxis, const PMS::Axis &yAxis, const PMS::DataColumn &xData, const PMS::DataColumn &yData, unsigned int index=0)
static const casacore::String REC_FILENAME
static const int UPDATE_MSDATA
static const casacore::String REC_TITLES
PMS::InterpMethod xInterp(unsigned int index=0) const
Group * clone() const
Abstract Methods //.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
static const casacore::String REC_SHOWATM
PMS_PP_Canvas & assign(const PMS_PP_Canvas *o)
Does the work for the operator=()s.
const casacore::Int & titleFont(unsigned int index=0) const
vector< PlotSymbolPtr > itsFlaggedSymbols_
std::vector< PMS::InterpMethod > itsYInterp_
static const casacore::String UPDATE_LOG_NAME
Update flag for log group.
static const casacore::String REC_SHOWXLABELS
casacore::String xConnect(unsigned int index=0) const
bool yFontSet(unsigned int index=0) const
std::vector< PMS::Axis > itsYAxes_
casacore::Bool isCommonAxisX() const
const prange_t & yRange(unsigned int index=0) const
const casacore::Int & cacheType() const
based on PlotMSCacheBase::Type enum {MS, CAL}
PMS_PP_Display & assign(const PMS_PP_Display *o)
PMS_PP_MSData & assign(const PMS_PP_MSData *other)
Does the work of the operator=()s.
bool yLabelShown(unsigned int index=0) const
void setFlaggedSymbol(const PlotSymbolPtr &value, unsigned int index=0)
const casacore::String & filename() const
void setYFontsSet(const vector< bool > &value)
void setFlaggedSymbols(const vector< PlotSymbolPtr > &value)
PlotAxis xAxis(unsigned int index=0) const
casacore::Bool isCommonAxisX() const
void setTitleFormats(const vector< PlotMSLabelFormat > &value)
PMS_PP_Cache(PlotFactoryPtr factory)
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
static const casacore::String REC_FLAGGEDS
static const casacore::String REC_XRANGES
Specifies iteration parameters for plotms.
bool operator==(const Group &other) const
void setGridRow(const int &value)
void setAxes(const PlotAxis &xAxis, const PlotAxis &yAxis, unsigned int index=0)
Sets single versions of the parameters for the given index.
bool filenameIsSet() const
void setRanges(const bool &xSet, const bool &ySet, const prange_t &xRange, const prange_t &yRange, unsigned int index=0)
void setYAxis(const PMS::Axis &axis, const PMS::DataColumn &data, unsigned int index=0)
static const casacore::String UPDATE_REDRAW_NAME
Update flag for redrawing.
static const casacore::String REC_XAXES
const vector< PMS::DataColumn > & yDataColumns() const
void setXFontSet(const bool &value, unsigned int index=0)
PMS::DataColumn xDataColumn(unsigned int index=0) const
static const casacore::String REC_YINTERPS
std::vector< PlotCanvas::LegendPosition > itsLegendsPos_
void setXRange(const bool &value, unsigned int index=0)
Subclass of PlotMSPlotParameters::Group to handle subparameters for casacore::MS data.
void setGridRow(casacore::Int nx)
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
const vector< bool > & gridMinorsShown() const
const casacore::String & calType() const
std::vector< PMS::Axis > itsXAxes_
void setYRange(const prange_t &value, unsigned int index=0)
void showGridMinors(const vector< bool > &value)
std::vector< bool > itsTitleFontsSet_
casacore::Bool isGlobalScaleX() const
void setXAxis(const PMS::Axis &value, unsigned int index=0)
void setXAxes(const vector< PlotAxis > &value)
bool timeConnect(unsigned int index=0) const
void setColorize(const PMS::Axis &value, unsigned int index=0)
static const casacore::String UPDATE_PAGEHEADER_NAME
Update flag for page header group.
void setXDataColumn(const PMS::DataColumn &value, unsigned int index=0)
const vector< casacore::Int > & yAxisFonts() const
Subclass of PlotMSPlotParameters::Group to handle axes parameters.
const vector< PlotLinePtr > & gridMinorLines() const
Group * clone() const
Abstract Methods //.
const vector< PlotSymbolPtr > & flaggedSymbols() const
std::vector< PMS::CoordSystem > itsXFrame_
static const casacore::String REC_TITLES
void setYRange(const bool &value, unsigned int index=0)
static const casacore::String REC_SHOWIMAGE
unsigned int numXAxes() const
Gets how many axes there are.
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
void setXAxes(const std::vector< PMS::Axis > &value)
std::vector< PMS::DataColumn > itsXData_
void setXRange(const bool &set, const prange_t &range, unsigned int index=0)
void setAveraging(const PlotMSAveraging &value)
void showYLabel(const bool &value, unsigned int index=0)
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
void showGrid(const bool &showMajor, const bool &showMinor, const PlotLinePtr &majorLine, const PlotLinePtr &minorLine, unsigned int index=0)
void setXInterps(const vector< PMS::InterpMethod > &value)
static const casacore::String REC_XLABELS
static const casacore::String UPDATE_CACHE_NAME
Update flag for cache group.
static const casacore::String REC_COLFLAGS
const PlotMSTransformations & transformations() const
const std::vector< PMS::DataColumn > & xDataColumns() const
std::vector< bool > itsLegendsShown_
PlotSymbolPtr flaggedSymbol(unsigned int index=0) const
void setColorize(const bool &colorize, const PMS::Axis &axis, unsigned int index=0)
void setXLabelFormat(const PlotMSLabelFormat &value, unsigned int index=0)
void setXAxisFont(const casacore::Int value, unsigned int index=0)
void setCalibration(const PlotMSCalibration &value)
Group * clone() const
Abstract Methods //.
void showLegend(const bool &show, const PlotCanvas::LegendPosition &pos, unsigned int index=0)
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
PlotAxis
Enum for the four plot axes.
bool colorizeFlag(unsigned int index=0) const
Group * clone() const
Abstract Methods //.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
DirectionAxisParams yDirectionParams(unsigned int index=0) const
void setYLabelFormat(const PlotMSLabelFormat &value, unsigned int index=0)
const vector< prange_t > & xRanges() const
const casacore::Int & yAxisFont(unsigned int index=0) const
casacore::String itsFilename_
std::vector< PMS::CoordSystem > itsYFrame_
void setXLabelFormats(const vector< PlotMSLabelFormat > &value)
std::vector< bool > itsXRangesSet_
static const casacore::String REC_SHOWGRIDMAJS
void showLegend(const bool &value, unsigned int index=0)
static const casacore::String REC_YFRAMES
PMS::Axis yAxis(unsigned int index=0) const
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
bool operator==(const Group &other) const
static PlotSymbolPtr DEFAULT_FLAGGED_SYMBOL(PlotFactoryPtr factory)
void setGridMinorLine(const PlotLinePtr &value, unsigned int index=0)
static const int UPDATE_CANVAS
PMS::Axis iterationAxis() const
const PlotMSLabelFormat & yLabelFormat(unsigned int index=0) const
std::vector< PMS::DataColumn > itsYData_
void setYRanges(const vector< prange_t > &value)
PMS_PP_Axes(PlotFactoryPtr factory)
static const int UPDATE_CACHE
const vector< casacore::Int > & titleFonts() const
const PlotMSAveraging & averaging() const
void setGlobalScaleX(bool globalAxis)
static const casacore::String REC_TITLEFONTSSET
PMS_PP_Iteration(PlotFactoryPtr factory)
const PlotMSSelection & selection() const
PMS::Axis xAxis(unsigned int index=0) const
casacore::Bool isCommonAxisY() const
void setTitleFormats(const vector< PlotMSLabelFormat > &value)
void setXAxisFonts(const vector< casacore::Int > &value)
std::vector< bool > itsYRangesSet_
bool xRangeSet(unsigned int index=0) const
static const casacore::String REC_UNFLAGGEDS
const vector< PMS::InterpMethod > & xInterps() const
void setTitleFormat(const PlotMSLabelFormat &value, unsigned int index=0)
static const casacore::String REC_CALTYPE
const vector< bool > & legendsShown() const
void setYInterps(const vector< PMS::InterpMethod > &value)
unsigned int numYAxes() const
PMS_PP_Canvas(PlotFactoryPtr factory)
casacore::Bool isCommonAxisY() const
casacore::Bool isGlobalScaleY() const
static const int UPDATE_DISPLAY
bool gridMinorShown(unsigned int index=0) const
std::pair< double, double > prange_t
Typedef for range, which is two doubles (min and max).
PlotCanvas::LegendPosition legendPosition(unsigned int index=0) const
PMS::DataColumn yDataColumn(unsigned int index=0) const
void setYFrame(const PMS::CoordSystem &value, unsigned int index=0)
Subclass of PlotMSPlotParameters::Group to handle cache parameters.
vector< casacore::String > itsXConnects_
void showAxesLabels(const bool &xLabelShow, const bool &yLabelShow, unsigned int index=0)
const vector< bool > & colorizeFlags() const
void showXLabel(const bool &value, unsigned int index=0)
void setXFrame(const PMS::CoordSystem &value, unsigned int index=0)
std::vector< PlotLinePtr > itsGridMajLines_
void setYAxis(const PlotAxis &value, unsigned int index=0)
const vector< PlotLinePtr > & gridMajorLines() const
void setTimeConnect(const bool &value, unsigned int index=0)
static const casacore::String REC_CALIBRATION
void setCommonAxisX(bool commonAxis)
std::vector< PlotMSLabelFormat > itsTitles_
void setConnect(const casacore::String &xconnect, const bool &timeconnect, unsigned int index=0)
void setColorize(const vector< PMS::Axis > &value)
const vector< PlotMSLabelFormat > & yLabelFormats() const
casacore::String itsCalType_
PMS_PP_Iteration & assign(const PMS_PP_Iteration *o)
Does the work for the operator=()s.
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
const casacore::String & name() const
Returns the name of this group of subparameters.
std::vector< PlotAxis > itsYAxes_
std::vector< casacore::Int > itsYAxisFonts_
const vector< PMS::CoordSystem > & yFrames() const
static const int UPDATE_REDRAW
std::vector< bool > itsXFontsSet_
static const casacore::String REC_GRIDMAJLINES
void setCommonAxisY(casacore::Bool commonAxisY)
PMS::CoordSystem yFrame(unsigned int index=0) const
Group(PlotFactoryPtr factory)
Constructor which takes a plot factory.
void showLegends(const vector< bool > &value)
const PlotMSCalibration & calibration() const
static const casacore::String REC_XRANGESSET
bool operator==(const Group &other) const
void setXAxis(const PlotAxis &value, unsigned int index=0)
const vector< PlotMSLabelFormat > & titleFormats() const
void setYAxisFont(const casacore::Int value, unsigned int index=0)
vector< PMS::Axis > itsColorizeAxes_
PMS_PP_Axes & operator=(const PMS_PP_Axes &other)
void setSelection(const PlotMSSelection &value)
String: the storage and methods of handling collections of characters.
bool operator==(const Group &other) const
void setXDataColumns(const vector< PMS::DataColumn > &value)
void setGridMajorLines(const vector< PlotLinePtr > &value)
Subclass of PlotMSPlotParameters::Group to handle iteration parameters.
void showGridMajor(const bool &value, unsigned int index=0)
static const casacore::String REC_XCONNECT
static const casacore::String REC_YAXES
void setYAxes(const vector< PlotAxis > &value)
void setShowTsky(const bool &value)
bool operator==(const Group &other) const
static const casacore::String UPDATE_AXES_NAME
Update flag for axes group.
Container class to hold constants for groups.
unsigned int numCanvases() const
Gets how many canvases there are.
static const casacore::String REC_TITLEFONTS
void setTransformations(const PlotMSTransformations &value)
void showYLabels(const vector< bool > &value)
void setTitleFonts(const vector< casacore::Int > &value)
static const casacore::String REC_XAXES
void setYAxis(const PMS::Axis &value, unsigned int index=0)
void setUnflaggedSymbol(const PlotSymbolPtr &value, unsigned int index=0)
void setYFrames(const vector< PMS::CoordSystem > &value)
static const casacore::String REC_SHOWTSKY
bool gridMajorShown(unsigned int index=0) const
PlotMSTransformations itsTransformations_
void fromRecord(const casacore::Record &record)
Sets the values for this group of subparameters using the given Record.
Specifies calibration parameters for an MS.
PlotMSIterParam itsIterParam_
const vector< PMS::Axis > & colorizeAxes() const
static const casacore::String REC_YAXES
void showGridMinor(const bool &value, unsigned int index=0)
void setYInterp(const PMS::InterpMethod &value, unsigned int index=0)
static const casacore::String REC_XFONTSSET
static const casacore::String UPDATE_ITERATION_NAME
Update flag for iteration group.
static const casacore::String REC_XDATACOLS
static const casacore::String REC_YAXISFONTS
const vector< bool > & titleFontsSet() const
casacore::Bool isGlobalAxisX() const
bool xLabelShown(unsigned int index=0) const
static const casacore::String REC_CACHETYPE
std::vector< bool > itsGridMajsShown_
void showGridMajors(const vector< bool > &value)
void setUnflaggedSymbols(const vector< PlotSymbolPtr > &value)
PMS_PP_Cache & assign(const PMS_PP_Cache *o)
Does the work for the operator=()s.
bool operator==(const Group &other) const
PMS_PP_Canvas & operator=(const Group &other)
std::vector< casacore::Int > itsXAxisFonts_
std::vector< PlotMSLabelFormat > itsXLabels_
static const casacore::String REC_SHOWYLABELS
static const casacore::String REC_SHOWLEGENDS
static const casacore::String REC_YRANGESSET
void updated()
Should be called by the child class whenever any of the subparameter values have been updated...
void setLegendPosition(const PlotCanvas::LegendPosition &value, unsigned int index=0)
void setGridCol(const int &value)
PMS::CoordSystem xFrame(unsigned int index=0) const
std::vector< prange_t > itsXRanges_
casacore::Record toRecord() const
Returns a casacore::Record representing this group of subparameters.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const casacore::String REC_AVERAGING
PMS_PP_Display & operator=(const Group &other)
vector< bool > itsColorizeFlags_
std::vector< PMS::InterpMethod > itsXInterp_
static const casacore::String REC_GRIDMINLINES
static const casacore::String REC_TIMECONNECT
bool requiresRedrawOnChange() const
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed...
std::vector< bool > itsYFontsSet_
static PlotSymbolPtr DEFAULT_UNFLAGGED_SYMBOL(PlotFactoryPtr factory)
Default values for PMS_PP_Display.
PlotLinePtr gridMinorLine(unsigned int index=0) const
const casacore::Int & xAxisFont(unsigned int index=0) const
static const casacore::String UPDATE_PLOTMS_OPTIONS_NAME
Update flag for plotms_options group.
const vector< prange_t > & yRanges() const
PlotLinePtr gridMajorLine(unsigned int index=0) const
static const casacore::String UPDATE_DISPLAY_NAME
Update flag for display group.
bool legendShown(unsigned int index=0) const
Bool empty() const
Test for empty.