databank.plot
(+databank)
Quickly create a databank chartpack
Syntax
[ch, info] = databank.plot(inputDb, list, ___)
Input arguments
inputDb
[ struct ]
Input databank from which the chartpack will be generated.
list
[ string ]
A list of field names or expressions referring to
inputDb
fieldnames that will be plotted
Output arguments
ch
[ Chartpack ]
A new Chartpack object created within the function.
info
[ struct ]
An info struct returned from the
Chartpack/draw
function.
Options
Any Chartpack
property can be assigned as an option in
databank.plot
.
Description
Example
d = struct();
d.x = Series(qq(2020,1), rand(40, 1));
d.y = Series(qq(2020,1), rand(40, 1));
d.z = Series(qq(2020,1), rand(40, 1));
ch = databank.plot(d, ["x", "100*y", "z-x"]);