Skip to content
Snippets Groups Projects
Commit 9e84563e authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann :seedling:
Browse files

usable with no arguments in OPTIONS

parent 65861d1c
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,13 @@ for i_ = 1:numel(names)
namae = names{i_};
geo_arrays(:,i_) = h5read(data.outfilenames{end},['/data/metric/',namae])';
end
NPLOT = options.SHOW_FLUXSURF + options.SHOW_METRICS;
try
NPLOT = options.SHOW_FLUXSURF + options.SHOW_METRICS;
catch
NPLOT = 2;
options.SHOW_FLUXSURF = 1;
options.SHOW_METRICS = 1;
end
if NPLOT > 0
fig = figure;
if options.SHOW_METRICS
......
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