From cffa1e99fb85eaa5d802b5dd740ff998f04e3f06 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Tue, 23 Jun 2015 20:45:04 +0000
Subject: [PATCH]  hold all with new matlab version

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@4840 d63d8f72-b253-0410-a779-e742ad2e26cf
---
 crpptbx/gdat.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crpptbx/gdat.m b/crpptbx/gdat.m
index 825b5635..2b718b38 100644
--- a/crpptbx/gdat.m
+++ b/crpptbx/gdat.m
@@ -142,7 +142,7 @@ if ~exist('machine')
 end
 
 if (nargineff>=4 & ~isempty(varargin{2})); machine=varargin{2}; end
-machine
+%machine
 % load data from specified machine
 if ~exist('data_type'); data_type=[]; 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
   end
 elseif doplot==-1
   try
-    hold on
+    hold all
     child_h=get(gca,'child');
     nbplot=length(child_h);
     if length(size(trace.data))<=2
-- 
GitLab