GOPEN_WS(3NCARG) | NCAR GRAPHICS | GOPEN_WS(3NCARG) |
gopen_ws - opens a GKS workstation
#include <ncarg/gks.h>
void gopen_ws(Gint ws_id, const char *conn_id, Gint ws_type);
For workstation types of 1 (CGM) the connection ID is the name of the CGM file. One can have at most one workstation of type 1 open at a time.
For workstations of type 3 (WISS) the connection ID is irrelevant. One can have at most one workstation of type 3 open. One can have workstations of types 1 and 3 open simultaneously and they must have distinct connection IDs. To use the GFLASH package or any GKS segmentation functions WISS must be opened first.
For workstations of type 7 the connection ID is the X11 window ID for the existing window. This number should be passed as a string; for example, "3" for an X11 window ID of 3.
For workstations of type 8 an X11 window will be created at open workstation time. The connection ID is irrelevant for workstations of type 8.
For workstations of type 10, the ASCII text is written to standard output and the connection ID is irrelevant.
There can be a maximum of fifteen simultaneously open workstations of all types.
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.
Online: gopen_gks(3NCARG), gactivate_ws(3NCARG), gdeactivate_ws(3NCARG), gclose_ws(3NCARG), gclose_gks(3NCARG), opngks(3NCARG), clsgks(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |