diff --git a/src/utilities/dplot/dplot.m b/src/utilities/dplot/dplot.m index d8f9f274f79670c7f082a68319b9c3bbcd98cfab..a6ba3efaecd329c21f8a10134933dead5534774f 100644 --- a/src/utilities/dplot/dplot.m +++ b/src/utilities/dplot/dplot.m @@ -6,7 +6,8 @@ function dplot(varargin) % % >> ds1 = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); % >> ds2 = dseries(randn(100,3), dates('2000Q1'), {'x','y','z'}); -% >> dplot --expression 2*cumsum(x/y(-1)-1) --dseries toto --dseries noddy --range 2001Q1:2024Q1 +% >> b = 3; +% >> dplot --expression 2/b*cumsum(x/y(-1)-1) --dseries ds1 --dseries ds2 --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.