Skip to content
Snippets Groups Projects
Commit 26da40dd authored by Olivier Sauter's avatar Olivier Sauter
Browse files

fix tag

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@4098 d63d8f72-b253-0410-a779-e742ad2e26cf
parent db16104c
No related branches found
No related tags found
No related merge requests found
...@@ -180,7 +180,12 @@ elseif doplot==-1 ...@@ -180,7 +180,12 @@ elseif doplot==-1
disp(' error in plotting part, most probably because could not guess time dimension correctly. To check') disp(' error in plotting part, most probably because could not guess time dimension correctly. To check')
end end
end end
if exist('hhh') && ishandle(hhh); set(hhh(1),'Tag',['gdat: ' num2str(shot)]); end
try
if exist('hhh') && ishandle(hhh(end)); set(hhh(end),'Tag',['gdat: ' num2str(shot)]); end
catch
end
h2=findobj(gca,'-regexp','Tag','gdat:*'); h2=findobj(gca,'-regexp','Tag','gdat:*');
if ~isempty(h2); if ~isempty(h2);
legend(get(sort(h2),'Tag')); legend(get(sort(h2),'Tag'));
......
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