File: xgetech.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (65 lines) | stat: -rw-r--r-- 1,906 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.TH xgetech 2 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME 
xgetech - get the current graphics scale
.SH CALLING SEQUENCE
.nf
[wrect,frect,logflag,arect]=xgetech()
.fi
.SH PARAMETERS
.TP 13
wrect,frect
: real vectors.
.TP 13
logflag
: string of size 2 "xy".
.SH DESCRIPTION
\fVxgetech\fR returns the current graphics scale (of the current window). 
The rectangle [xmin,ymin,xmax,ymax] given by
\fVfrect\fR is the size of the whole graphics window. 
The plotting will be made in
the region of the current graphics window specified by \fVwrect\fR.
.LP
\fVwrect=[x,y,w,h]\fR (upper-left point, width, height) describes a region 
inside 
the graphics window. The values in \fVwrect\fR are specified using proportion
of the width and height of the graphics window:
.LP
\fVwrect=[0 0 1 1]\fR means that the whole graphics window is used.
.LP
\fVwrect=[0.5 0 0.5 1]\fR means that the graphics region is the right 
half of the graphics window.

\fVlogflag\fR is a string of size 2 "xy", where x and y can be "n" or "l". 
"n" stands for 
normal and "l" stands for logscale. x stands for the x-axis and y stands
for the y-axis.

\fVarect=[x_left, x_right,y_up,y_down]\fR gives the frame size
inside the subwindow. The graphic frame is specified (like \fVwrect\fR) 
using proportion of the width or height of the current graphic subwindow. 
Default value is \fV1/8*[1,1,1,1]\fR. If \fVarect\fR is not given, 
current value remains unchanged. 

.SH EXAMPLE
.nf 
// first subwindow 
xsetech([0,0,1.0,0.5])
plot2d()
// then xsetech is used to set the second sub window 
xsetech([0,0.5,1.0,0.5])
grayplot()
// get the graphic scales of first subwindow 
xsetech([0,0,1.0,0.5])
[wrect,frect,logflag,arect]=xgetech();
// get the graphic scales of second subwindow 
xsetech([0,0.5,1.0,0.5])
[wrect,frect,logflag,arect]=xgetech();
xbasc();
xset('default')
.fi
.SH SEE ALSO
xsetech 
.SH AUTHOR
J.Ph.C.