2 function hp_plot_number( hp_model )
3 %
function hp_plot_number( hp_model )
5 % labels the printed subdomains (hp_plot_domains or hp_plot_domains_full)
6 % with the number of RB vectors of the subdomains
8 plot_number(hp_model.tree);
10 function plot_number(tree)
12 % Naviagation durch den gesammten Baum
17 %Ausgabe des Traingssets in zufälliger Farbe
20 a=sum( tree.training
')/length(tree.training);
23 % h=plot(tree.training(1,:),tree.training(2,:),'.
','LineWidth
', 2, 'MarkerSize
', 8);
24 TextH = text(a(1),a(2), ...
25 num2str([tree.detailed_data.N]), ...
26 'Units
', 'normalized
', ...
27 'VerticalAlignment
', 'top
', ...
28 'HorizontalAlignment
', 'right
');
29 %c= rand_uniform(3,{[0.5 1]});
33 % set(TextH,'BackgroundColor
',c);