casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PGPLOT.h
Go to the documentation of this file.
1 //# PGPLOT.h: AIPS++ interface to PGPLOT routines
2 //# Copyright (C) 1993,1994,1995,2000,2002
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //# $Id$
27 
28 #ifndef GRAPHICS_PGPLOT_H
29 #define GRAPHICS_PGPLOT_H
30 
31 #include <casa/aips.h>
32 
33 #if !defined(NEED_FORTRAN_UNDERSCORES)
34 #define NEED_FORTRAN_UNDERSCORES 1
35 #endif
36 
37 #if NEED_FORTRAN_UNDERSCORES
38  #define wpgbegin wpgbegin_
39  #define wpgenv wpgenv_
40  #define wpgask wpgask_
41  #define wpghist wpghist_
42  #define wpglabel wpglabel_
43  #define wpgend wpgend_
44  #define wpgline wpgline_
45  #define wpgpoint wpgpoint_
46  #define wpgiden wpgiden_
47  #define wpgtext wpgtext_
48  #define wpgcont wpgcont_
49  #define wpggray wpggray_
50  #define wpgerrx wpgerrx_
51  #define wpgerry wpgerry_
52  #define MAIN MAIN_
53 #endif
54 
55 namespace casa { //# NAMESPACE CASA - BEGIN
56 
57 
58 // <summary>PGPLOT interface calls</summary>
59 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
60 // </reviewed>
61 // <group name=interface>
62 extern "C" {
63  // PGPLOT routines
64  void wpgbegin (int *, const char *, int *, int *, int *);
65  void wpgask (int *);
66  void wpghist (int *, float *, float *, float *, int *, int *);
67  void wpglabel (const char *, const char *, const char *, int *, int *, int *);
68  void wpgiden ();
69  void wpgenv (float *, float *, float *, float *, int *, int *);
70  void wpgline (int *, float *, float *);
71  void wpgpoint (int *, float *, float *, int *);
72  void wpgcont (float *, int *, int *, int *, int *, int *, int *,
73  float *, int *, float *);
74  void wpggray (float *, int *, int *, int *, int *, int *, int *,
75  float *, float *, float *);
76  void wpgerrx (int *, float *, float *, float *, float *);
77  void wpgerry (int *, float *, float *, float *, float *);
78  void wpgend ();
79 
80  // called by fortran initialization, may not be needed on all machines,
81  // in fact, this might cause problems on some machines.
82  void MAIN_();
83 };
84 // </group>
85 
86 } //# NAMESPACE CASA - END
87 
88 #endif
#define wpglabel
Definition: PGPLOT.h:42
#define wpgiden
Definition: PGPLOT.h:46
#define wpgerry
Definition: PGPLOT.h:51
#define wpgpoint
Definition: PGPLOT.h:45
#define wpggray
Definition: PGPLOT.h:49
#define wpgask
Definition: PGPLOT.h:40
#define wpgerrx
Definition: PGPLOT.h:50
#define wpgenv
Definition: PGPLOT.h:39
void MAIN_()
called by fortran initialization, may not be needed on all machines, in fact, this might cause proble...
#define wpgbegin
Definition: PGPLOT.h:38
#define wpgline
Definition: PGPLOT.h:44
#define wpgcont
Definition: PGPLOT.h:48
#define wpghist
Definition: PGPLOT.h:41
#define wpgend
Definition: PGPLOT.h:43