Skip to content
Snippets Groups Projects
Commit 181e43eb authored by marwan's avatar marwan
Browse files

covariance plot commented out

parent 978f6406
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,9 @@ function xout=crqa(varargin) ...@@ -135,6 +135,9 @@ function xout=crqa(varargin)
% $Revision$ % $Revision$
% %
% $Log$ % $Log$
% Revision 5.6 2004/11/12 08:40:46 marwan
% order patterns recurrence plot added
%
% Revision 5.5 2004/11/10 07:04:50 marwan % Revision 5.5 2004/11/10 07:04:50 marwan
% initial import % initial import
% %
...@@ -171,7 +174,7 @@ splash_gpl('crp'); ...@@ -171,7 +174,7 @@ splash_gpl('crp');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% check and read the input %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% check and read the input
try %try
errcode=1; errcode=1;
set(0,'ShowHidden','on') set(0,'ShowHidden','on')
...@@ -934,31 +937,31 @@ if ~nogui ...@@ -934,31 +937,31 @@ if ~nogui
h=findobj('Tag','crqa_axes_T1','Parent',gcf); h_axes.h(7)=h(1); h=findobj('Tag','crqa_axes_T1','Parent',gcf); h_axes.h(7)=h(1);
h=findobj('Tag','crqa_axes_T2','Parent',gcf); h_axes.h(8)=h(1); h=findobj('Tag','crqa_axes_T2','Parent',gcf); h_axes.h(8)=h(1);
h=findobj('Tag','crqa_axes_Var','Parent',gcf); h_axes.h(9)=h(1); h=findobj('Tag','crqa_axes_Var','Parent',gcf); h_axes.h(9)=h(1);
if ~all(x==y), h=findobj('Tag','crqa_axes_CoVar','Parent',gcf); h_axes.h(10)=h(1); end % if ~all(x==y), h=findobj('Tag','crqa_axes_CoVar','Parent',gcf); h_axes.h(10)=h(1); end
for i=1:9, for i=1:9,
set(gcf,'CurrentAxes',h_axes.h(i)) set(gcf,'CurrentAxes',h_axes.h(i))
if size(Y,1)==1 if size(Y,1)==1
cla cla
text(0.5,0.5,sprintf('%6.4f',Y(index(i))),'FontWeight','bold','HorizontalAlign','Center') text(0.5,0.5,sprintf('%6.4f',Y(index(i))),'FontWeight','bold','HorizontalAlign','Center')
if ~all(x==y) & i==9 % if ~all(x==y) & i==9
cla % cla
text(0.5,0.5,sprintf('%6.5f, %6.5f',Y(index(i)),Y(index(i+1))),'FontWeight','bold','HorizontalAlign','Center') % text(0.5,0.5,sprintf('%6.5f, %6.5f',Y(index(i)),Y(index(i+1))),'FontWeight','bold','HorizontalAlign','Center')
set(gcf,'CurrentAxes',h_axes.h(i+1));cla % set(gcf,'CurrentAxes',h_axes.h(i+1));cla
set(h_axes.h(i+1),'visible','off'); % set(h_axes.h(i+1),'visible','off');
end % end
else else
if i==9 if i==9
cla cla
h2=stairs(1:wstep:length(Y),Y(1:wstep:end,index(i))); h2=stairs(1:wstep:length(Y),Y(1:wstep:end,index(i)));
set(h2,'color',props.line.Color) set(h2,'color',props.line.Color)
if ~all(x==y) if ~all(x==y)
set(gca,'Color','none') set(gca,'Color','none')
hold on; h2=stairs(1:wstep:length(Y),Y(1:wstep:end,index(10)),'r'); hold on; h2=stairs(1:wstep:length(Y),Y(1:wstep:end,index(10)),'r');
set(gcf,'CurrentAxes',h_axes.h(i+1));cla set(gcf,'CurrentAxes',h_axes.h(i+1));cla
set(h_axes.h(10),'visible','on'); set(h_axes.h(10),'visible','on');
h3=stairs(1:wstep:length(Y),Y(1:wstep:end,index(11))); set(h3,'color',[0 .4 0]); h3=stairs(1:wstep:length(Y),Y(1:wstep:end,index(11))); set(h3,'color',[0 .4 0]);
ylabel(tx(i+1)); ylabel(tx(i+1));
set(h_axes.h(i+1),'Tag',tags{i+1},'Units','Norm','Color','none','YAxisLocation','right','YColor',[0 .4 0]) set(h_axes.h(i+1),'Tag',tags{i+1},'Units','Norm','Color','none','YAxisLocation','right','YColor',[0 .4 0])
end end
else else
plot(1:wstep:length(Y),Y(1:wstep:end,index(i)),'color',props.line.Color) plot(1:wstep:length(Y),Y(1:wstep:end,index(i)),'color',props.line.Color)
...@@ -984,8 +987,8 @@ end ...@@ -984,8 +987,8 @@ end
%if 0 if 0
catch %catch
if nogui~=2, if ishandle(hw), close(hw), end , end if nogui~=2, if ishandle(hw), close(hw), end , end
z=whos;x=lasterr;y=lastwarn;in=varargin{1}; z=whos;x=lasterr;y=lastwarn;in=varargin{1};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment