Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Unknown macro: {alias}

Name

vie — Viewport handling

Syntax

vie nx ny number

vie number | next| pre | coor [con]

vie def | del

vie 1 1 1

Description

Viewports are rectangular sub-areas of the screen or a plot.

Arguments

nx ny number

number

def

del [number]

next

pre

number | next | pre con

1 1 1

coor x1 y1 x2 y2

con

Examples

Ex.1: Viewport scenes

# One can copy geometry to scalars and then to another
# scalar set of another surface thus displaying
# one surface as scalars on top of another.
vie def                 ;# reset viewport
ret 10                  ;# return start window
vie 2 2 1               ;# set up 4 viewports, select first
mak ran 11              ;# make random points
grp 70 70               ;# make grid and scalars
ssc                     ;# self scale
mak p                   ;# transform grid to polydata
acm n 11                ;# map display
mhi grid1               ;# move grid to hi grid1
vie 2 con               ;# select viewport 2 and connect to previous
mak ran 11              ;# make new random points
grp 70 70               ;# make new grid
mak p                   ;# transform grid to polydata
acm l                   ;# map display
mhi grid2               ;# move grid to hi grid2
vie 3 con               ;# select viewport 3
mak rsc grid1           ;# replace scalars from grid1
acm l                   ;# map grid1 on top of grid2
con l                   ;# contour grid1 on top of grid2
vie 4 con               ;# select viewport 4
map                     ;# map grid1 on top of grid2
con l                   ;# contour grid1 on top of grid2

The above example produces this image.


Connected viewports

See also

xwi - Window on screen, win - Window specification, ssc - Self scale of data

  • No labels