32 #ifndef __plstream_h__ 33 #define __plstream_h__ 54 virtual void elements(
int& nx,
int& ny )
const { nx = _nx; ny = _ny; }
55 virtual PLFLT operator()(
int i,
int j )
const = 0;
71 virtual PLFLT operator()(
int ix,
int iy )
const = 0;
72 virtual void elements(
int& _nx,
int& _ny ) = 0;
73 virtual void min_max(
PLFLT& _min,
PLFLT& _max ) = 0;
141 const char *driver = NULL,
const char *file = NULL );
143 const char *driver = NULL,
const char *file = NULL );
153 void adv(
PLINT page );
164 void svect(
const PLFLT *arrow_x = NULL,
const PLFLT *arrow_y = NULL,
PLINT npts = 0,
bool fill =
false );
182 void box(
const char *xopt,
PLFLT xtick,
PLINT nxsub,
187 void box3(
const char *xopt,
const char *xlabel,
PLFLT xtick,
PLINT nsubx,
188 const char *yopt,
const char *ylabel,
PLFLT ytick,
PLINT nsuby,
189 const char *zopt,
const char *zlabel,
PLFLT ztick,
PLINT nsubz );
206 void col0(
PLINT icol0 );
215 void col1(
PLFLT c );
222 #endif //PL_DEPRECATED 249 void cpstrm(
plstream &pls,
bool flags );
317 void font(
PLINT ifont );
321 void fontld(
PLINT fnt );
345 void gcompression(
PLINT& compression );
353 void gdiori(
PLFLT& rot );
369 void gfnam(
char *fnam );
377 void glevel(
PLINT &p_level );
410 void gver(
char *p_ver );
447 void lab(
const char *xlabel,
const char *ylabel,
const char *tlabel );
450 void legend(
PLFLT *p_legend_width,
PLFLT *p_legend_height,
456 PLFLT text_justification,
457 const PLINT *text_colors,
const char *
const *
text,
458 const PLINT *box_colors,
const PLINT *box_patterns,
459 const PLFLT *box_scales,
const PLFLT *box_line_widths,
460 const PLINT *line_colors,
const PLINT *line_styles,
461 const PLFLT *line_widths,
462 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
463 const PLINT *symbol_numbers,
const char *
const *symbols );
465 void colorbar(
PLFLT *p_colorbar_width,
PLFLT *p_colorbar_height,
471 PLINT n_labels,
PLINT *label_opts,
const char *
const *label,
472 PLINT n_axes,
const char *
const *axis_opts,
474 PLINT *n_values,
const PLFLT *
const *values );
490 void lsty(
PLINT lin );
501 const PLINT *plotentries,
PLINT nplotentries );
506 const char *name,
const char *
string,
508 const PLINT *plotentries,
PLINT nplotentries );
610 void poly3(
PLINT n,
const PLFLT *x,
const PLFLT *y,
const PLFLT *z,
const bool *draw,
bool ifcc );
618 void psty(
PLINT patt );
644 void scmap0n(
PLINT ncol0 );
648 void scmap1n(
PLINT ncol1 );
652 void scmap1_range(
PLFLT min_color,
PLFLT max_color );
656 void gcmap1_range(
PLFLT &min_color,
PLFLT &max_color );
677 void scmap1l(
bool itype,
PLINT npts,
const PLFLT *intensity,
678 const PLFLT *coord1,
const PLFLT *coord2,
const PLFLT *coord3,
const bool *alt_hue_path = NULL );
687 void scmap1la(
bool itype,
PLINT npts,
const PLFLT *intensity,
689 const bool *alt_hue_path = NULL );
713 void scompression(
PLINT compression );
717 void sdev(
const char *devname );
721 void gdev(
char *devname );
736 void sdiori(
PLFLT rot );
748 void sesc(
char esc );
757 void setcontlabelformat(
PLINT lexp,
PLINT sigdig );
769 void sfnam(
const char *fnam );
773 void sdevdata(
void *data );
832 #endif //PL_DEPRECATED 856 void smem(
PLINT maxx,
PLINT maxy,
void *plotmem );
860 void smema(
PLINT maxx,
PLINT maxy,
void *plotmem );
868 void sori(
PLINT ori );
877 void spause(
bool pause );
881 void spal0(
const char *filename );
885 void spal1(
const char *filename,
bool interpolate =
true );
889 void sstrm(
PLINT strm );
905 void start(
const char *devname,
PLINT nx,
PLINT ny );
917 void string(
PLINT n,
const PLFLT *x,
const PLFLT *y,
const char *
string );
929 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
932 bool y_ascl,
bool acc,
934 const PLINT colline[],
const PLINT styline[],
const char *legline[],
935 const char *labx,
const char *laby,
const char *labtop );
943 void stripd(
PLINT id );
973 void sxwin(
PLINT window_id );
993 void timefmt(
const char *fmt );
998 void vasp(
PLFLT aspect );
1022 void width(
PLFLT width );
1029 void xormod(
bool mode,
bool *status );
1034 void seed(
unsigned int s );
1036 PLFLT randd(
void );
1043 void gFileDevs(
const char ***p_menustr,
const char ***p_devname,
1048 void sKeyEH(
void ( *KeyEH )(
PLGraphicsIn *,
void *,
int * ),
1053 void sbopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1057 void seopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1065 void sexit(
int ( *handler )(
const char * ) );
1123 void ClearOpts(
void );
1127 void ResetOpts(
void );
1135 void SetUsage(
char *program_string,
char *usage_string );
1139 PLINT setopt(
const char *opt,
const char *optarg );
1143 int SetOpt(
const char *opt,
const char *optarg );
1147 void OptUsage(
void );
1153 void gfile( FILE **p_file );
1157 void sfile( FILE *file );
1161 void gesc(
char *p_esc );
1165 void cmd(
PLINT op,
void *ptr );
1169 PLINT FindName(
char *p );
1173 char *FindCommand(
char *fn );
1178 void GetName(
char *dir,
char *subdir,
char *filename,
char **filespec );
1182 PLINT GetInt(
char *s );
1186 PLFLT GetFlt(
char *s );
1218 #ifdef PL_DEPRECATED 1266 void spause(
PLINT pause );
1268 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
1273 const PLINT colline[],
const PLINT styline[],
const char *legline[],
1274 const char *labx,
const char *laby,
const char *labtop );
1277 #endif //PL_DEPRECATED 1282 #endif // __plstream_h__
void(* PLTRANSFORM_callback)(PLFLT x, PLFLT y, PLFLT_NC_SCALAR xp, PLFLT_NC_SCALAR yp, PLPointer data)
static void arc(PLStream *, arc_struct *)
void(* PLFILL_callback)(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y)
PLDLLIMPEXP_CXX void Coord_Xform_evaluator(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
void mapform(PLINT n, PLFLT *x, PLFLT *y)
const PLFLT *const * PLFLT_MATRIX
PLDLLIMPEXP_CXX void tr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
PLINT(* PLDEFINED_callback)(PLFLT x, PLFLT y)
PLDLLIMPEXP_CXX PLFLT Contourable_Data_evaluator(PLINT i, PLINT j, PLPointer p)
static struct line line[]
void c_plsstrm(PLINT strm)
static void gradient(PLStream *pls, short *xa, short *ya, PLINT npts)
void xform(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
Contourable_Data(int nx, int ny)
virtual void elements(int &nx, int &ny) const
static PLStream * pls[PL_NSTREAMS]
void(* PLMAPFORM_callback)(PLINT n, PLFLT_NC_VECTOR x, PLFLT_NC_VECTOR y)
static PLOptionTable options[]
void(* PLLABEL_FUNC_callback)(PLINT axis, PLFLT value, PLCHAR_NC_VECTOR label, PLINT length, PLPointer data)
static int scol0(Tcl_Interp *interp, register PlFrame *plFramePtr, int i, const char *col, int *p_changed)
PLDLLIMPEXP_CXX void tr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
static PLINT active_streams
PLDLLIMPEXP_CXX void tr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
virtual void set_stream(void)
const PLFLT * PLFLT_VECTOR
virtual ~Contourable_Data()
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
PLDLLIMPEXP_CXX void tr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
PLDLLIMPEXP_CXX void fill(PLINT n, const PLFLT *x, const PLFLT *y)