File: _plot3.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-- 388 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=_plot3(varargin)

[lhs,rhs]=argn(0);

if rhs==0
  h=_gcf();  
  IMD=h.immediate_drawing;
  h.immediate_drawing='off';    
  t = linspace(0,5*%pi,100); 
  hdl=_plot3(sin(t),cos(t),t/t($),...
  2+sin(t),cos(t),t/t($),... 
  sin(t),2+cos(t),t/t($),... 
  2+sin(t),2+cos(t),t/t($));
  h.immediate_drawing=IMD;    
else
   hdl=_mainPlot('plot3',varargin);
end

endfunction /////