File: parseLabel.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 (19 lines) | stat: -rw-r--r-- 311 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
function out = parseLabel(typeOfPlot, value,pptystring,ppty)

//
// Parsing label for the 'xlabel,ylabel,zlabel,...' properties 
//

select type(value)
case 10 //  a string
case 1
  if value~=[]
   _error(sprintf('%s : missing %s ',typeOfPlot, ppty));
  end
  value="";
end

out=list(ppty,value);


endfunction