1NGEZLOGO(3NCARG) NCAR GRAPHICS NGEZLOGO(3NCARG)
2
3
4
6 NGEZLOGO - Draws various NCAR and UCAR logos, the default being to draw
7 an NCAR logo of reasonable size in the lower right corner of a plot.
8
10 CALL NGEZLOGO()
11
13 #include <ncarg/ncargC.h>
14
15 void c_ngezlogo()
16
18 Call this subroutine to produce a logo. By default a call to this
19 subroutine will draw an NCAR logo of reasonable size in the lower right
20 corner of the plot. This will be a full-color logo for PostScript
21 output, otherwise it will be a one-color logo.
22
23 Calls to the ngmisc paramter setting routines NGSETI and NGSETR can be
24 used for more control over the ouput. Calls to these routines can
25 reproduce the functionality of the subroutine NGLOGO, except that the
26 requested logo will be plotted to all active workstations, rather than
27 a specified one. Here is a list of control parameters and what they
28 do:
29
30 'LT' - Use with NGSETI to specify the logo type. See the
31 documentation for NGLOGO for a list of the logo types, or
32 execute "ncargex miex01" for an example plot that lists
33 the logo types. Default is 1.
34
35 'OS' - Use with NGSETR to specify the logo size in normalized
36 device coordinates (a number between 0. and 1.). For
37 example, a size specification of 0.1 would give a logo
38 size one-tenth the maximum plot height. Default is 0.07.
39
40 'OX' - Use with NGSETR to specify the logo X-coordinate
41 position in normalized device coordinates. Default is
42 0.93.
43
44 'OY' - Use with NGSETR to specify the logo Y-coordinate
45 position in normalized device coordinates. Default is
46 0.05.
47
48 'LC' - Use with NGSETI to specify the logo color (except in
49 the case of an NCAR logo being plotted to a PostScript
50 workstation, in which case you will get the full-color
51 logo). Default is 1.
52
53 'LB' - Use with NGSETI to specify the secondary logo color
54 (this is applicable only for logo type 5, in which case
55 the secondary color is used for the text string "UCAR").
56 Default is 1.
57
58
60 CALL NGEZLOGO()
61 Plots an NCAR logo on all active workstations in the lower right
62 corner of the plot. In the case of PostScript output, a full-
63 color logo will be produced, otherwise a one-color logo will be
64 produced.
65
66 Logo of type 2:
67 CALL NGSETI('LT',2)
68 CALL NGEZLOGO()
69
70 Plots a UCAR logo (just the star) in the lower right corner of
71 the plot.
72
73
74 More complete example:
75 CALL NGSETI('LT',5)
76 CALL NGSETR('OX',0.5)
77 CALL NGSETR('OY',0.5)
78 CALL NGSETR('OS',0.1)
79 CALL NGSETI('LC',2)
80 CALL NGSETI('LB',3)
81 CALL NGEZLOGO()
82
83 Plots a logo of type 5 (UCAR star with text "UCAR") in the
84 middle of the plot with size one-tenth the maximum plot height
85 using color index 2 for the star and color index 3 for the text.
86
87
89 To use NGEZLOGO or c_ngezlogo, load the NCAR Graphics libraries ncarg,
90 ncarg_gks, and ncarg_c, preferably in that order.
91
93 Online: nglogo, ngseti, ngsetr (3NCARG),
94
95 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
96
98 Copyright (C) 1987-2002
99 University Corporation for Atmospheric Research
100 The use of this Software is governed by a License Agreement.
101
102
103
104UNIX April 2002 NGEZLOGO(3NCARG)