C-PLOT

Scientific Graphics and Data Analysis

wi

select window size, location

SYNOPSIS

wi [code]

wi n m

wi v n m

wi h v n m

(The dimensions for h, v, n and m are in centimeters.)

DESCRIPTION

Entered without arguments, the horizontal and vertical offsets, width and height of the current window are displayed. When using a pen plotter, you are first given the opportunity to set the corners of the plot window using the pen-plotter controls.

Entering wicode will select a built-in window according to the following codes.

Code Dimensions
0 20cm x 15cm (the default)
1 15cm x 15cm
2 15cm x 12.5cm
3 12.5cm x 12.5cm
9 the entire available area

Entering wi n m will make the window centered and n cm wide and m cm high.

The arguments v n m will put a horizontally centered nxm window v cm from the page bottom, and the arguments h v n m will place the nxm window h cm from the left edge of the drawing area and v cm up from the bottom.

If h or v are negative numbers, they specify the distance from the right side or top of the page to the plot window. For example, entering wi -0 -0 10 10 places a 10x10cm window at the upper-right corner of the page.

In 3D mode, the 3D axis box is adjusted so that it just fits inside the window set by wi without distorting the box.

Different models of pen plotters have differently sized physical plotting areas. All filters (z displays) map the physical plotting area to the entire filter display area. When the model of pen plotter is changed, the proportions and margins of identically generated filter displays also will change.

Before a pen plotter is initialized (via in), C-PLOT's default plotting area is that of the HP-7470 pen plotter, 25.75cm x 19.125cm. After the pen plotter is initialized, its physical plotting area is mapped to the filter display area, even after communication with the plotter is severed (via rp).

EXAMPLE

wi 3

SEE ALSO

in rp z