0001 function job_edit_area_plotbrain(plot_parm,V,F,inf_C,Iextract)
0002
0003
0004
0005
0006
0007
0008
0009 vb_plot_cortex(plot_parm, V, F, inf_C);
0010
0011
0012 switch plot_parm.LRflag
0013 case 'L'
0014 F0 = F.F3L;
0015 case 'R'
0016 F0 = F.F3R;
0017 case 'LR'
0018 F0 = F.F3;
0019 end
0020
0021
0022 plot_area(plot_parm,V,F0,Iextract);
0023
0024 function plot_area(plot_parm,V,F0,Iextract)
0025
0026
0027
0028 alpha = 0.7;
0029 ix = Iextract;
0030 ix2 = intersect(ix,unique(F0(:)));
0031 FF = vb_patch_select2(ix,F0,size(V,1));
0032 patch('Faces',FF,'Vertices',V,'FaceAlpha',alpha,...
0033 'FaceColor','b','EdgeColor','none','FaceLighting','none');