File: _update_shaded_plots.sci

package info (click to toggle)
scilab-plotlib 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,196 kB
  • sloc: xml: 3,308; makefile: 15
file content (27 lines) | stat: -rw-r--r-- 473 bytes parent folder | download
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
function _update_shaded_plots(win)
  
global _SHADED_ENTITIES
  
if win.type=="Figure"
  ax=win.children;
else
  ax=win;
end

for j=1:size(ax,1)
  if typeof(ax(j).user_data)=="axesData"
    h=ax(j).children;
    for i=1:size(h,1);
      if or(h(i).user_data.typeOfPlot==_SHADED_ENTITIES)      
         _update_single_shaded_pl(h(i));        
       end
    end
    if ax(j).user_data.colorbarPosition~="off"
       processColorBar(ax(j));
    end
  end
end



endfunction