Skip to content
Snippets Groups Projects
Commit 7d59b887 authored by marwan's avatar marwan
Browse files

bug in colormap selection fixed

parent 99e072f4
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ function [h_axes,h_fig]=create_JRPfig(h,xshuttle,yshuttle) ...@@ -10,6 +10,9 @@ function [h_axes,h_fig]=create_JRPfig(h,xshuttle,yshuttle)
% $Revision$ % $Revision$
% %
% $Log$ % $Log$
% Revision 4.1 2005/03/16 12:21:30 marwan
% add support for joint recurrence plots
%
% %
% %
% This program is free software; you can redistribute it and/or % This program is free software; you can redistribute it and/or
...@@ -30,7 +33,7 @@ global props ...@@ -30,7 +33,7 @@ global props
'Color',props.window.Color,... 'Color',props.window.Color,...
'NumberTitle','off',... 'NumberTitle','off',...
'Name',['Joint Recurrence Plot (' h ')'],... 'Name',['Joint Recurrence Plot (' h ')'],...
'DeleteFcn','crp smartclose',... 'DeleteFcn','jrp smartclose',...
'PaperPosition',[0.25 0.25 7.7677 11.193],... 'PaperPosition',[0.25 0.25 7.7677 11.193],...
'PaperType','a4',... 'PaperType','a4',...
'PaperOrientation','portrait'); 'PaperOrientation','portrait');
...@@ -122,14 +125,14 @@ global props ...@@ -122,14 +125,14 @@ global props
for i=1:length(cm); for i=1:length(cm);
h1=uimenu(h0,'Label',cm{i},'Checked','Off',... h1=uimenu(h0,'Label',cm{i},'Checked','Off',...
'Tag',num2str(i),... 'Tag',num2str(i),...
'Callback','crp colormap'); 'Callback','jrp colormap');
if i==4, set(h1,'Checked','On'), end if i==4, set(h1,'Checked','On'), end
end end
h1=uimenu(h0,'Label','b/w','Tag','18','Callback','crp colormap'); h1=uimenu(h0,'Label','b/w','Tag','18','Callback','jrp colormap');
h1=uimenu(h0,'Label','inverse','Tag','19','Separator','On','Callback','crp colormap'); h1=uimenu(h0,'Label','inverse','Tag','19','Separator','On','Callback','jrp colormap');
h1=uimenu('Label','SmartClose',... % SmartClose h1=uimenu('Label','SmartClose',... % SmartClose
'Callback','crp smartclose'); 'Callback','jrp smartclose');
clear h1 h2 xshuttle yshuttle clear h1 h2 xshuttle yshuttle
set(h_fig, 'HandleVis','CallBack') set(h_fig, 'HandleVis','CallBack')
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