Chartpack
Create a new Chartpack object for plotting databank fields
Syntax
ch = Chartpack()
Output Arguments
ch [ Chartpack ]
New empty Chartpack object
Customizable properties
After creating a new Chartpack object, set the following properties to customize the way the charts are produced and styled:
Customize visual aspects of individual charts
PlotFunc=@plot [ @plot ]
Plot function used to create each of the charts.
Highlight=[] [ Dater | cell | empty ]
Date range, or a cell array of date ranges, that will be highlighted in each chart.
Customize data plotted
Range=Inf [ Dater | Inf ]
Date range or horizontal axis range on which the charts will be created.
Range=Infmeans each chart will encompass the range necessary to accommodate the entire time series plotted.
Round=Inf [ numeric ]
Round the data to this number of decimal places before plotting them.
Transform=[] [ function | empty ]
Function that will be applied to each data input before it gets plotted, except input data entered with a "^" at the beginning of their expression string.
Customize chart captions
Autocaption=false [ true | false ]
If chart caption is missing, use the time series comments to create the captions.
Newline="//" [ string ]
Separator between lines in the captions of the charts.
ShowFormulas=false [ true | false ]
Add formulas from the input strings to the chart captions; the formula is always used for the chart caption whenever the caption is not supplied in the input string and the time series does not have a non-empty comment (or
Autocaption=false).
ShowTransform=false [ true | false ]
Add the
Transformfunction to the chart captions.
Customize figure windows
Tiles=@auto [ numeric | @auto ]
Number of rows and columns of tiles within one figure window. Two special cases are allowed for this setting:
Tiles=@auto- the layout will be determined optimally based on the total number of charts (respecting the optionMaxTilesPerWindow).
Tiles=[Inf, numColumns]- the layout will be determined automatically based on the total number of charts within a figure (respectingMaxTilesPerWindow) with the number of columns beingnumColumns.
MaxTilesPerWindow=40 [ numeric ]
Maximum number of tiles (charts) in each figure window.
ShowFigure=Inf [ numeric ]
After drawing all figures, switch to this one to be shown on top;
ShowFigure=Infmeans the last figure window plotted.
Customize graphics objects
FigureSettings={} [ cell ]
Cell array of settings passed to the standard Matlab
figureconstructor.
AxesSettings={} [ cell ]
Cell array of settings passed to the standard Matlab
axesconstructor.
PlotSettings={} [ cell ]
Cell array of settings passed to the plot functions as extra input arguments at the end.
TitleSettings={} [ cell ]
Cell array of settings passed to the
titleconstructor as extra input arguments at the end.