-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathrun_7_plot_all.m
37 lines (28 loc) · 1008 Bytes
/
run_7_plot_all.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function run_7_plot_all()
% Display many inductors design in a GUI.
%
% Start a GUI with several Pareto fronts.
% Plots can be customized.
% Design can be selected with the mouse.
% Allow a multi-objective data exploration.
% Details on a specific design (geometry, operating points, etc.).
%
% (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod
init_toolbox();
% plot the data with ANN/regression
run_sub('ann')
% plot the data with analytical approximation
run_sub('approx')
end
function run_sub(eval_type)
% Display inductors design in a GUI (with different evaluation methods).
%
% Parameters:
% eval_type (str): type of the evaluation ('ann', or approx')
% path of the file contained the computed designs
file_compute_all = ['data/compute_all_' eval_type '.mat'];
% get the GUI parameters
[fct_data, plot_param, text_param] = get_design_data_plot_all();
% start the GUI
master_plot_all(file_compute_all, fct_data, plot_param, text_param)
end