diff --git a/src/utilities/dplot/dplot.m b/src/utilities/dplot/dplot.m index a6ba3efaecd329c21f8a10134933dead5534774f..2f711201c1791ab5b77e0704210975f91c896fec 100644 --- a/src/utilities/dplot/dplot.m +++ b/src/utilities/dplot/dplot.m @@ -4,10 +4,10 @@ function dplot(varargin) % % EXAMPLE % -% >> ds1 = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); -% >> ds2 = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); +% >> toto = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); +% >> noddy = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); % >> b = 3; -% >> dplot --expression 2/b*cumsum(x/y(-1)-1) --dseries ds1 --dseries ds2 --range 2001Q1:2024Q1 +% >> dplot --expression 2/b*cumsum(x/y(-1)-1) --dseries toto --dseries noddy --range 2001Q1:2024Q1 % % Will produce plots of 2*cumsum(x/y(-1)-1), where x and y are variables in objects toto and noddy, % in the same figure.