File: xchange.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (28 lines) | stat: -rw-r--r-- 844 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

xchange(2)                     Scilab Function                     xchange(2)
NAME
  xchange - coordinates transform

CALLING SEQUENCE
  [x1,y1,rect]=xchange(x,y,dir)

PARAMETERS

  x,y       : two matrices of size (n1,n2) (coordinates of a set of points)

  x1,y1     : two matrices of size (n1,n2) (coordinates of the set of points
            )

  rect      : a vector of size 4 (values in pixel of the coordinates of the
            rectangle in which the scale was fixed)

DESCRIPTION
  After having used a graphic function, this function allows one to change
  real coordinates into pixel coordinates and vice-versa, according to the
  value of the parameter dir.  dir = 'f2i' or 'i2f' ( float to int or int to
  float)
   x1,y1 are the coordinates of the set of points described by x,y after the
  coordinate change.

AUTHOR
  J.Ph.C..