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

fix IDA call and catch error in plot_torbeam

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5679 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 022bd5c4
Branches
Tags
No related merge requests found
......@@ -56,6 +56,7 @@ for ifield=1:length(list_fields)
titleg{end+1} = ['L' num2str(igyro)];
end
end
if ~isempty(titleg) ; legend(titleg); end
eval(['fig_handles.' list_fields{ifield} '.titleg = titleg;']);
xlabel('time [s]')
......
......@@ -62,7 +62,7 @@ if shot>0
dousebetapol = '-betapol';
if hhIDA.handle~=0;
netest=gdat(shot,{'IDA','ne'});
tetest=gdat(shot,{'IDA','te'});
tetest=gdat(shot,{'IDA','Te'});
if ~isempty(netest.data) && ~isempty(tetest.data)
run_with_IDA = 1;
dousebetapol = ''; % can use Te from IDA
......@@ -120,7 +120,10 @@ if exist('tbout');
torbeam_out_struct = tbout;
end
fig_handles=plot_torbeam(torbeam_out_struct);
try
fig_handles=plot_torbeam(torbeam_out_struct);
catch
end
% comments for hiytory backup:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment