1NCARGINTRO(5NCARG) NCAR GRAPHICS NCARGINTRO(5NCARG)
2
3
4
6 ncargintro - NCAR Graphics Overview
7
9 ncargintro
10
12 NCAR Graphics is a collection of graphics libraries that supports the
13 display of scientific data. The low-level utilities (LLUs) are the tra‐
14 ditional C and Fortran interfaces for contouring, mapping, drawing
15 field flows, drawing surfaces, drawing histograms, drawing X/Y plots,
16 labeling, and more.
17
18 Output from these interfaces can be directed in a combination of three
19 ways: an NCGM (NCAR Graphics Computer Graphics Metafile), an X11 win‐
20 dow, or one of many PostScript outputs (regular, Encapsulated, or
21 Interchange PostScript format). Other formats are available through
22 NCGM translators and accompanying device drivers.
23
25 As of March, 1998 the Ngmath library contains a collection of interpo‐
26 lators for one-dimensional, two-dimensional, and three-dimensional
27 data. The packages are: dsgrid -- a three-dimensional random data
28 interpolator based on a simple inverse distance weighting algorithm.
29
30 csagrid -- an approximation package for one-dimensional, two-dimen‐
31 sional, and three-dimensional random data based on David Fulker's
32 package Splpack. Csagrid uses cubic splines to calculate its approxima‐
33 tion function.
34
35 cssgrid -- an interpolation package for random data on the surface of a
36 sphere. Cssgrid uses cubic splines to calculate its interpolation func‐
37 tion. Cssgrid is based on the work of Robert Renka.
38
39 fitgrid -- an interpolation package for one-dimensional and two-dimen‐
40 sional gridded data based on Alan Cline's package Fitpack, an early
41 version of which is available from netlib. Fitpack uses splines under
42 tension to interpolate in one and two dimensions.
43
44 natgrid -- a two-dimensional random data interpolation package based on
45 Dave Watson's package nngridr.
46
47 shgrid -- an interpolation package for random data in 3-space. Shgrid
48 uses a modified Shepard's algorithm to calculate its interpolation
49 function. Shgrid is based on the work of Robert Renka.
50
51
53 Every user of NCAR Graphics will either need to set the environment
54 variable NCARG_ROOT or the environment variables NCARG_BIN, NCARG_LIB,
55 and NCARG_INCLUDE depending on how NCAR Graphics was installed on your
56 system.
57
58 If the NCAR Graphics binaries, libraries, and include files were
59 installed under one root directory, say for example /usr/local/bin,
60 /usr/local/lib, and /usr/local/include respectively, then you'll need
61 to do the following:
62
63 setenv NCARG_ROOT /usr/local
64
65 If the binaries, libraries, and include files were NOT installed under
66 one root directory, say for example /usr/local/ncarg/bin,
67 /usr/local/ncarg/lib, and /usr/local/include, then you'll need to do
68 the following:
69
70 setenv NCARG_BIN /usr/local/ncarg/bin
71
72 setenv NCARG_LIB /usr/local/ncarg/lib
73
74 setenv NCARG_INCLUDE /usr/local/include
75
76 The environment variable NCARG_GKS_OUTPUT may be used to direct the
77 metafile output from the NCAR Graphics GKS package to a file (use just
78 the file name) or to pipe it to a translator (give the name of the
79 translator, preceded by a "|").
80
81 The environment variable NCARG_GKS_PSOUTPUT may be used to direct the
82 PostScript output from the NCAR Graphics GKS package to a file (stdout
83 is allowed).
84
85 The environment variable NCARG_GKS_PDFOUTPUT may be used to direct the
86 PDF output from the NCAR Graphics GKS package to a file (stdout is
87 allowed).
88
89 The environment variables GRAPHCAP and FONTCAP may be used to tell the
90 NCGM translators "ctrans", "ictrans" and "idt" what default "graphcap"
91 and "fontcap" to use. See the man pages for ctrans(1NCARG),
92 ictrans(1NCARG), and idt(1NCARG) for more information.
93
94 The environment variable DISPLAY is not actually used by the transla‐
95 tors; if you are using X Windows, it determines where the translator
96 output is to be displayed.
97
99 Online:
100
101 Commands which facilitate compiling and running with NCAR Graphics:
102
103 nhlf77(1NCARG), nhlcc(1NCARG), ncargf77(1NCARG), ncargcc(1NCARG), ncar‐
104 gpath(1NCARG), ncargrun(1NCARG)
105
106 NCAR Command Language:
107
108 ncl
109
110 Fortran utilities in NCAR Graphics:
111
112 areas(3NCARG), autograph(3NCARG), bivar(3NCARG), colconv(3NCARG), con‐
113 pack(3NCARG), dashline(3NCARG), dashpack(3NCARG), ezmap(3NCARG),
114 gflash(3NCARG), gks(3NCARG), gridall(3NCARG), histogram(3NCARG), iso‐
115 surface(3NCARG), labelbar(3NCARG), ngmisc(3NCARG), plotchar(3NCARG),
116 softfill(3NCARG), surface(3NCARG), scrolled_title(3NCARG), stream‐
117 lines(3NCARG), tdpack(3NCARG), vectors(3NCARG), wmap(3NCARG)
118
119 NCGM translators:
120
121 ctrans(1NCARG), ictrans(1NCARG), idt(1NCARG), med(1NCARG)
122
123 Raster formats and applications:
124
125 ras_formats(1NCARG), ras_palette(1NCARG), rascat(1NCARG),
126 rasview(1NCARG), rasls(1NCARG), rasgetpal(1NCARG)
127
128 LLU NCAR Graphics C-binding:
129
130 ncarg_cbind(3NCARG) ncarg_gks_cbind(3NCARG)
131
132 Descriptions of environment variables:
133
134 ncarg_env(5NCARG),
135
136 Descriptions of fontcaps and graphcaps:
137
138 fcaps(1NCARG), fontcap(5NCARG), gcaps(1NCARG), graphcap(5NCARG)
139
140 Metafile filters:
141
142 cgm2ncgm(1NCARG) ncgm2cgm(1NCARG), pre2ncgm(1NCARG), psblack(1NCARG),
143 pswhite(1NCARG),
144
145 A command which tells you what version of NCAR Graphics you are using:
146
147 ncargversion(1NCARG)
148
149 Utility for generating NCAR Graphics Fortran and C examples:
150
151 ncargex(1NCARG),
152
153 Utilities for giving you access to special NCAR Graphics files and/or
154 tables.
155
156 ncargfile(1NCARG)
157
158 Programs for generating sample NCGMs: ncargworld,tgks0a
159
160 Online documentation:
161
162 http://ngwww.ucar.edu/ngdoc/ng/
163
165 Copyright (C) 1987-2002
166 University Corporation for Atmospheric Research
167 The use of this Software is governed by a License Agreement.
168
169
170
171NCAR July 1998 NCARGINTRO(5NCARG)