NAME

Scale - scale data


SYNOPSIS

       <in.h  Scale [dscale=0, axis=1]  >out.h


INPUT PARAMETERS

dscale -real

       scaling parameters
axis -integer

       axis infomation
scale -real

       see below
rscale -real

       scale by value, ignore axis conditions


DESCRIPTION

 Trivial data scaling program.


COMMENTS

       if(axis ==1 || dscale ==1)
                       scale = max on 1-axis
      else if( axis ==12)
                      scale = max in 1-2 plane
      else if( axis ==123)
                      scale = max in cube
      else
                      scale = dscale
      out(n1,n2,n3) = in(n1,n2,n3) * scale

 backward compatibility:  formerly, dscale=1 signaled axis=1


SEE ALSO

the Clip manpage


CATEGORY

util/vector