1DSPNT2D(3NCARG) NCAR GRAPHICS DSPNT2D(3NCARG)
2
3
4
6 DSPNT2D- Interpolate at a single point (or points) in 2D in double pre‐
7 cision
8
10 CALL DSPNT2D (N, X, Y, Z, M, XO, YO, ZO, IER)
11
13 N (Integer, Input) - The number of input data points.
14
15 X (Double precision, Input) - An array containing the X coor‐
16 dinates of the input data points.
17
18 Y (Double precision, Input) - An array containing the Y coor‐
19 dinates of the input data points.
20
21 Z (Double precision, Input) - An array containing the func‐
22 tional values of the input data points. That is, Z(L) is
23 the value of the input function at coordinate (X(L),Y(L)),
24 for L=1,N.
25
26 M (Integer, Input) - The number of output data points (this
27 may be "1").
28
29 XO (Double precision, Input) - An array of dimension M con‐
30 taining the X coordinates of the output data. The values in
31 XO may be in any order.
32
33 YO (Double precision, Input) - An array of dimension M con‐
34 taining the Y coordinates of the output data. The values in
35 YO may be in any order.
36
37 ZO (Double precision, Output) - An array of dimension M con‐
38 taining the interpolated values. ZO(I) is the interpolated
39 value at point (XO(I),YO(I)) for I=1,M.
40
41 IER (Integer, Output) - An error return value. If IER is
42 returned as 0, then no errors were detected. If IER is non-
43 zero, then refer to the man page for dsgrid_errors for
44 details.
45
47 This subroutine is called when you want to interpolate at an individual
48 point or points.
49
51 To use DSPNT2D, load the NCAR Graphics library ngmath.
52
54 dsgrid, dsgrid_params.
55
56 Complete documentation for Dsgrid is available at URL
57 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
58
60 Copyright (C) 2000
61 University Corporation for Atmospheric Research
62
63 This documentation is free software; you can redistribute it and/or
64 modify it under the terms of the GNU General Public License as pub‐
65 lished by the Free Software Foundation; either version 2 of the
66 License, or (at your option) any later version.
67
68 This software is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
70 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
71 Public License for more details.
72
73 You should have received a copy of the GNU General Public License along
74 with this software; if not, write to the Free Software Foundation,
75 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79
80UNIX September 1997-1998 DSPNT2D(3NCARG)