From 05c61fa76d04e64244751457b6e4ce88e2ff0cb9 Mon Sep 17 00:00:00 2001
From: marwan <>
Date: Tue, 4 Jul 2006 14:03:57 +0000
Subject: [PATCH] axis-error

---
 crqad.m | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/crqad.m b/crqad.m
index 019baaf..fed7963 100644
--- a/crqad.m
+++ b/crqad.m
@@ -70,6 +70,9 @@ function out=crqad(varargin)
 % $Revision$
 %
 % $Log$
+% Revision 2.4  2005/03/16 11:19:02  marwan
+% help text modified
+%
 % Revision 2.3  2004/11/12 08:40:46  marwan
 % order patterns recurrence plot added
 %
@@ -84,7 +87,7 @@ global props
 
 init_properties
 
-lmin=3;
+lmin=10;
 w=[]; method='max'; method_n=1; t=1; m=1; e=.1;
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% check the input
@@ -234,7 +237,7 @@ warning off
 if size(x1,1)<size(x1,2), x1=x1'; end
 if size(x2,1)<size(x2,2), x2=x2'; end
 
-x=crp(x1,x2,m,t,e,method,'sil','nor');
+x=crp2(x1,x2,m,t,e,method,'sil','nor');
 warning off
   N=size(x);
   x3=zeros(2*N(2)+N(1),N(2));
@@ -295,7 +298,8 @@ h=text(0,0,'C','fontw','b');set(h,'un','pi'),set(h,'pos',[9,16,0])
 
 subplot(2,2,4), plot([-w:w],L,'k','linew',.7), 
 set(gca,'fonta','i'),xlabel('Lag')
-axis([-w w 0 max(L)]),ylabel('Averaged Line Length'),grid on
+
+axis([-w w 0 max([max(L) 1])]),ylabel('Averaged Line Length'),grid on
 h=text(0,0,'D','fontw','b');set(h,'un','pi'),set(h,'pos',[9,16,0])
 
 case 2
@@ -322,7 +326,7 @@ else
   out.Lp=L;
 end
 
-x=crp(x1,-x2,m,t,e,method,'sil');
+x=crp2(x1,-x2,m,t,e,method,'sil');
 warning off
 
   N=size(x);
-- 
GitLab