PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plplot_octave_rej.h
Go to the documentation of this file.
1 //
2 // jc: this segment of plplot.h was rejected as errors by matwrap,
3 // but the defined functions are needed.
4 //
5 // The rejection occurs because of function pointer arguments
6 // in the function prototypes.
7 //
8 
9 
10 // Draws a contour plot from data in f(nx,ny). Is just a front-end to
11 // plfcont, with a particular choice for f2eval and f2eval_data.
12 //
13 
14 void c_plcont( PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
15  PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
16  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
17  PLPointer pltr_data ); //%nowrap
18 
19 // Draws a contour plot using the function evaluator f2eval and data stored
20 // by way of the f2eval_data pointer. This allows arbitrary organizations
21 // of 2d array data to be used.
22 //
23 
24 void plfcont( PLFLT ( *f2eval )( PLINT, PLINT, PLPointer ),
25  PLPointer f2eval_data,
26  PLINT nx, PLINT ny, PLINT kx, PLINT lx,
27  PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
28  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
29  PLPointer pltr_data ); //%nowrap
30 
31 // Plot an image with distortion
32 
33 void plimagefr( PLFLT **idata, PLINT nx, PLINT ny,
35  PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax,
36  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
37  PLPointer pltr_data ); //%nowrap
38 
39 // plot continental outline in world coordinates
40 
41 void plmap( void ( *mapform )( PLINT, PLFLT *, PLFLT * ), char *type,
42  PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat ); //%nowrap
43 
44 // Plot the latitudes and longitudes on the background.
45 
46 void plmeridians( void ( *mapform )( PLINT, PLFLT *, PLFLT * ),
47  PLFLT dlong, PLFLT dlat,
48  PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat ); //%nowrap
49 
50 // Shade region.
51 
52 void c_plshade( PLFLT **a, PLINT nx, PLINT ny, const char **defined,
53  PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
54  PLFLT shade_min, PLFLT shade_max,
55  PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
56  PLINT min_color, PLINT min_width,
57  PLINT max_color, PLINT max_width,
58  void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
59  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
60  PLPointer pltr_data ); //%nowrap
61 
62 // multiple plshade, specify number of countours to shade
63 
64 void c_plshades( PLFLT **a, PLINT nx, PLINT ny, const char **defined,
65  PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
66  PLFLT *clevel, PLINT nlevel, PLINT fill_width,
67  PLINT cont_color, PLINT cont_width,
68  void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
69  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
70  PLPointer pltr_data ); //%nowrap
71 
72 // the next one seems to use the C calling convention,
73 // but did not work at first, so I will use the proven F calling
74 //
75 
76 void plshade1( PLFLT *a, PLINT nx, PLINT ny, const char *defined,
77  PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
78  PLFLT shade_min, PLFLT shade_max,
79  PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
80  PLINT min_color, PLINT min_width,
81  PLINT max_color, PLINT max_width,
82  void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
83  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
84  PLPointer pltr_data ); //%nowrap
85 
86 void plfshade( PLFLT ( *f2eval )( PLINT, PLINT, PLPointer ),
87  PLPointer f2eval_data,
88  PLFLT ( *c2eval )( PLINT, PLINT, PLPointer ),
89  PLPointer c2eval_data,
90  PLINT nx, PLINT ny,
91  PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
92  PLFLT shade_min, PLFLT shade_max,
93  PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
94  PLINT min_color, PLINT min_width,
95  PLINT max_color, PLINT max_width,
96  void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
97  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
98  PLPointer pltr_data ); //%nowrap
99 
100 // Create 1d stripchart
101 
102 void c_plstripc( PLINT *id, char *xspec, char *yspec,
103  PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
104  PLFLT xlpos, PLFLT ylpos,
105  PLINT y_ascl, PLINT acc,
106  PLINT colbox, PLINT collab,
107  PLINT *colline, PLINT *styline, char *legline[],
108  char *labx, char *laby, char *labtop ); //%nowrap
109 
110 // Plot vector arrows
111 void c_plvect( PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale,
112  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
113  PLPointer pltr_data ); //%nowrap
114 
115 
116 // Set the function pointer for the keyboard event handler
117 
118 void plsKeyEH( void ( *KeyEH )( PLGraphicsIn *, void *, int * ), void *KeyEH_data ); //%nowrap
119 
120 // Set the function pointer for the (mouse) button event handler
121 
122 void plsButtonEH( void ( *ButtonEH )( PLGraphicsIn *, void *, int * ),
123  void *ButtonEH_data ); //%nowrap
124 
125 // Sets an optional user exit handler.
126 
127 void plsexit( int ( *handler )( char * ) ); //%nowrap