File: _tripcolor.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 (20 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function hdl=_tripcolor(varargin)

global PLOTLIB

[lhs,rhs]=argn(0);

if rhs==0
   load(PLOTLIB+'tridem.dat')
   h=gcf();
   IMD=h.immediate_drawing;
   hdl=_tripcolor(nodes,xy(1,:),xy(2,:),P(:,1)');
   _shading interp
   _colorbar on
   _axis equal
   h.immediate_drawing=IMD;
else
   hdl=_mainPlot('tripcolor',varargin);
end

endfunction /////