File: _fill.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 (12 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
function hdl=_fill(varargin)

[lhs,rhs]=argn(0);

if rhs==0
  x=0.1+[0 1 1 0]';y=0.1+[0 0 1 1]';c=[1 2 3 4]';
  hdl=_fill([x 1.1+x 1.1+x x],[y y 1.1+y 1.1+y],[c 2+c 3+c 4+c],'facecolor','interp');
else    
  hdl=_mainPlot('fill',varargin);
end

endfunction /////