ncl_ngezlogo (3) - Linux Man Pages
ncl_ngezlogo: Draws various NCAR and UCAR logos, the default being
NGEZLOGO - Draws various NCAR and UCAR logos, the default being to draw an NCAR logo of reasonable size in the lower right corner of a plot.
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
USAGECall this subroutine to produce a logo. By default a call to this subroutine will draw an NCAR logo of reasonable size in the lower right corner of the plot. This will be a full-color logo for PostScript output, otherwise it will be a one-color logo.
Calls to the ngmisc paramter setting routines NGSETI and NGSETR can be used for more control over the ouput. Calls to these routines can reproduce the functionality of the subroutine NGLOGO, except that the requested logo will be plotted to all active workstations, rather than a specified one. Here is a list of control parameters and what they do:
- - Use with NGSETI to specify the logo type. See the documentation for NGLOGO for a list of the logo types, or execute "ncargex miex01" for an example plot that lists the logo types. Default is 1.
- - Use with NGSETR to specify the logo size in normalized device coordinates (a number between 0. and 1.). For example, a size specification of 0.1 would give a logo size one-tenth the maximum plot height. Default is 0.07.
- - Use with NGSETR to specify the logo X-coordinate position in normalized device coordinates. Default is 0.93.
- - Use with NGSETR to specify the logo Y-coordinate position in normalized device coordinates. Default is 0.05.
- - Use with NGSETI to specify the logo color (except in the case of an NCAR logo being plotted to a PostScript workstation, in which case you will get the full-color logo). Default is 1.
- - Use with NGSETI to specify the secondary logo color (this is applicable only for logo type 5, in which case the secondary color is used for the text string "UCAR"). Default is 1.
- CALL NGEZLOGO()
- Plots an NCAR logo on all active workstations in the lower right corner of the plot. In the case of PostScript output, a full-color logo will be produced, otherwise a one-color logo will be produced.
- Logo of type 2:
Plots a UCAR logo (just the star) in the lower right corner of the plot.
- CALL NGSETI('LT',2)
- More complete example:
Plots a logo of type 5 (UCAR star with text "UCAR") in the middle of the plot with size one-tenth the maximum plot height using color index 2 for the star and color index 3 for the text.
- CALL NGSETI('LT',5)
ACCESSTo use NGEZLOGO or c_ngezlogo, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2002
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.