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

hold all with new matlab version

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@4840 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 808539ae
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ if ~exist('machine') ...@@ -142,7 +142,7 @@ if ~exist('machine')
end end
if (nargineff>=4 & ~isempty(varargin{2})); machine=varargin{2}; end if (nargineff>=4 & ~isempty(varargin{2})); machine=varargin{2}; end
machine %machine
% load data from specified machine % load data from specified machine
if ~exist('data_type'); data_type=[]; end if ~exist('data_type'); data_type=[]; end
if ~exist('shot') || isempty(shot); shot=-9; end if ~exist('shot') || isempty(shot); shot=-9; end
...@@ -180,7 +180,7 @@ if doplot==1 && isfield(trace,'data') && length(trace.data)>1 && ~ischar(trace.d ...@@ -180,7 +180,7 @@ if doplot==1 && isfield(trace,'data') && length(trace.data)>1 && ~ischar(trace.d
end end
elseif doplot==-1 elseif doplot==-1
try try
hold on hold all
child_h=get(gca,'child'); child_h=get(gca,'child');
nbplot=length(child_h); nbplot=length(child_h);
if length(size(trace.data))<=2 if length(size(trace.data))<=2
......
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