~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to macros/m2sci/sci_copper.sci

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
function [stk,txt,top]=sci_copper()
2
 
// Copyright INRIA
3
 
txt=[]
4
 
if rhs<1 then
5
 
  stk=list('min(ones(32,3),graycolormap()*diag([1.2500 0.7812 0.4975]))','0','32','3','1')
6
 
else
7
 
  if isname(stk(top)(1)) then
8
 
    n=stk(top)(1)
9
 
  else
10
 
    n=gettempvar(1)
11
 
    txt=n+'='+stk(top)(1)
12
 
  end
13
 
  stk=list('min(ones('+n+',3),graycolormap('+n+')*diag([1.2500 0.7812 0.4975]))','0',n,'3','1')
14
 
end