1 function p = plot_error_estimator(offline_data,params)
2 %
function p = plot_error_estimator(offline_data,params)
4 %
function plotting the error-estimator landscape over the
7 % required fields of params:
9 % mu_ranges: cell array of the mu_ranges
10 % num_plot_intervals : vector indicating the number of
11 % intervals
for the rb_simulation test. If not
12 % set,
default [10],[10 10],[10 10 10] is taken
13 % depending on the dimensionality of the parameter space
15 % Bernard Haasdonk 6.6.2007
17 if ~isfield(params,
'num_plot_intervals')
18 params.num_plot_intervals = 10 * ones(length(params.mu_names),1);
21 par.range = params.mu_ranges;
22 par.numintervals = params.num_plot_intervals;
25 M = get(plotgrid,'vertex')';
27 params.error_indicator = 'estimator';
28 error_estimators = rb_test_indicator([],offline_data,M,[],params);
30 plot_leafvertex_data(error_estimators,plotgrid,params);
32 % TO BE ADJUSTED TO NEW SYNTAX
A hierarchical cubegrid of arbitrary dimension.