imat_vtkplot/multiview (+FEA)


Purpose

Set up multiple viewports.

Syntax

hplot.multiview(viewtype)
hplot.multieview(viewtype,viewports

Description

This method sets the VTKPLOT display to multiple viewports, and optionally the view orientation in each viewport.

VIEWTYPE is one of the following strings specifying the view type.

'single' Single viewport
'two_lr' Two viewports side-by-side
'two_tb' Two viewports top and bottom
'four' Four viewports

 

VIEWPORTS is an optional list of strings or a numeric vector containing the viewport settings for the different viewports. The number of viewport settings must match the number of viewports specified in VIEWTYPE. Valid viewport setting are

2 'top' 'xy'
3 'bottom' 'xy-'
4 'left' 'yz-'
5 'right' 'yz'
6 'front' 'xz'
7 ''back' 'xz-'
8 'iso'  

 

Examples

>> h = vtkplot(fem);

>> h.multiview('two_lr','top','left');

>> h.multiview('two_lr',[2 4]);

See Also

imat_vtkplot/view