• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

plplot_octave_rej.h

Go to the documentation of this file.
00001 //
00002 // jc: this segment of plplot.h was rejected as errors by matwrap,
00003 // but the defined functions are needed.
00004 //
00005 // The rejection occurs because of function pointer arguments
00006 // in the function prototypes.
00007 //
00008 
00009 
00010 // Draws a contour plot from data in f(nx,ny).  Is just a front-end to
00011 // plfcont, with a particular choice for f2eval and f2eval_data.
00012 //
00013 
00014 void c_plcont( PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
00015                PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
00016                void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00017                PLPointer pltr_data ); //%nowrap
00018 
00019 // Draws a contour plot using the function evaluator f2eval and data stored
00020 // by way of the f2eval_data pointer.  This allows arbitrary organizations
00021 // of 2d array data to be used.
00022 //
00023 
00024 void plfcont( PLFLT ( *f2eval )( PLINT, PLINT, PLPointer ),
00025               PLPointer f2eval_data,
00026               PLINT nx, PLINT ny, PLINT kx, PLINT lx,
00027               PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
00028               void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00029               PLPointer pltr_data ); //%nowrap
00030 
00031 // Plot an image with distortion
00032 
00033 void plimagefr( PLFLT **idata, PLINT nx, PLINT ny,
00034                 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
00035                 PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax,
00036                 void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00037                 PLPointer pltr_data ); //%nowrap
00038 
00039 // plot continental outline in world coordinates
00040 
00041 void plmap( void ( *mapform )( PLINT, PLFLT *, PLFLT * ), char *type,
00042             PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat ); //%nowrap
00043 
00044 // Plot the latitudes and longitudes on the background.
00045 
00046 void plmeridians( void ( *mapform )( PLINT, PLFLT *, PLFLT * ),
00047                   PLFLT dlong, PLFLT dlat,
00048                   PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat ); //%nowrap
00049 
00050 // Shade region.
00051 
00052 void c_plshade( PLFLT **a, PLINT nx, PLINT ny, const char **defined,
00053                 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
00054                 PLFLT shade_min, PLFLT shade_max,
00055                 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
00056                 PLINT min_color, PLINT min_width,
00057                 PLINT max_color, PLINT max_width,
00058                 void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
00059                 void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00060                 PLPointer pltr_data ); //%nowrap
00061 
00062 // multiple plshade, specify number of countours to shade
00063 
00064 void c_plshades( PLFLT **a, PLINT nx, PLINT ny, const char **defined,
00065                  PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
00066                  PLFLT *clevel, PLINT nlevel, PLINT fill_width,
00067                  PLINT cont_color, PLINT cont_width,
00068                  void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
00069                  void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00070                  PLPointer pltr_data ); //%nowrap
00071 
00072 // the next one seems to use the C calling convention,
00073 //      but did not work at first, so I will use the proven F calling
00074 //
00075 
00076 void plshade1( PLFLT *a, PLINT nx, PLINT ny, const char *defined,
00077                PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
00078                PLFLT shade_min, PLFLT shade_max,
00079                PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
00080                PLINT min_color, PLINT min_width,
00081                PLINT max_color, PLINT max_width,
00082                void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
00083                void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00084                PLPointer pltr_data ); //%nowrap
00085 
00086 void plfshade( PLFLT ( *f2eval )( PLINT, PLINT, PLPointer ),
00087                PLPointer f2eval_data,
00088                PLFLT ( *c2eval )( PLINT, PLINT, PLPointer ),
00089                PLPointer c2eval_data,
00090                PLINT nx, PLINT ny,
00091                PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
00092                PLFLT shade_min, PLFLT shade_max,
00093                PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
00094                PLINT min_color, PLINT min_width,
00095                PLINT max_color, PLINT max_width,
00096                void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
00097                void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00098                PLPointer pltr_data ); //%nowrap
00099 
00100 // Create 1d stripchart
00101 
00102 void c_plstripc( PLINT *id, char *xspec, char *yspec,
00103                  PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
00104                  PLFLT xlpos, PLFLT ylpos,
00105                  PLINT y_ascl, PLINT acc,
00106                  PLINT colbox, PLINT collab,
00107                  PLINT *colline, PLINT *styline, char *legline[],
00108                  char *labx, char *laby, char *labtop ); //%nowrap
00109 
00110 // Plot vector arrows
00111 void c_plvect( PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale,
00112                void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
00113                PLPointer pltr_data ); //%nowrap
00114 
00115 
00116 // Set the function pointer for the keyboard event handler
00117 
00118 void plsKeyEH( void ( *KeyEH )( PLGraphicsIn *, void *, int * ), void *KeyEH_data ); //%nowrap
00119 
00120 // Set the function pointer for the (mouse) button event handler
00121 
00122 void plsButtonEH( void ( *ButtonEH )( PLGraphicsIn *, void *, int * ),
00123                   void *ButtonEH_data ); //%nowrap
00124 
00125 // Sets an optional user exit handler.
00126 
00127 void plsexit( int ( *handler )( char * ) );  //%nowrap

Generated on Wed Oct 12 2011 20:42:22 for PLplot by  doxygen 1.7.1