From 5622c45f61ae075d3b1f2fc6282f8d846757ddd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Ry=C3=BBk=29?=
 <stepan@adjemian.eu>
Date: Fri, 19 May 2023 18:35:50 +0200
Subject: [PATCH] Fix example.

Names for dseries obkjects were wrong.
---
 src/utilities/dplot/dplot.m | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/utilities/dplot/dplot.m b/src/utilities/dplot/dplot.m
index a6ba3ef..2f71120 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.
-- 
GitLab