logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gset_win (Set window) - establishes a window, or rectangular subspace, of world coordinates to be

Access

       To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

Description

       tran_num    (Input)  A  normalization  transformation  number. The number of available transformations is
                   implementation specific. In the case of NCAR GKS-0A, two  normalization  transformations  are
                   provided:

                   0      Selects  the  identity  transformation  in which both the window and viewport have the
                          range of 0. to 1. in both coordinate directions. This  is  the  default  normalization
                          transformation  for  GKS.  It is also fixed within GKS; that is, it is illegal to call
                          gset_win with tran_num = 0.

                   1      A normalization transformation in which the window is defined by  win_limits.x_min  to
                          win_limits.x_max and win_limits.y_min to win_limits.y_max.

       win_limits.x_min
                   (Gfloat, Input) - The left horizontal coordinate of the window.  x_min < x_max

       win_limits.x_max
                   (Gfloat, Input) - The right horizontal coordinate of the window.

       win_limits.y_min
                   (Gfloat, Input) - The bottom vertical coordinate of the window. y_min < y_max

       win_limits.y_max
                   (Gfloat, Input) - The top vertical coordinate of the window.

Name

       gset_win  (Set  window)  -  establishes  a  window,  or  rectangular subspace, of world coordinates to be
       plotted. Calls to gset_win are discouraged with NCAR Graphics. Instead, use  the  c_set  routine  because
       c_set also supports mirror imaging and log scaling of axes.

See Also

       Online:    set(3NCARG),gset_vp(3NCARG),gsel_norm_tran(3NCARG),ginq_clip(3NCARG),gks(3NCARG)ncarg_gks_cbind(3NCARG)

       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Synopsis

       #include <ncarg/gks.h>

       void gset_win(Gint tran_num, const Glimit *win_limits);

See Also