setvwrmode#

Purpose#

Sets the graphics viewer mode.

Note

This function is for use with the deprecated PQG graphics.

Library#

pgraph

Format#

oldmode = setvwrmode(mode)#
Parameters:

mode (string) –

new mode or null string.

”one”

Use only one viewer.

”many”

Use a new viewer for each graph.

Returns:

oldmode (string) – previous mode.

Examples#

oldmode = setvwrmode("one");
call setvwrmode(oldmode);

Remarks#

If mode is a null string, the current mode will be returned with no changes made.

If “one” is set, the viewer executable will be vwr.exe.

Source#

pgraph.src

See also

Functions pqgwin()