28 #ifndef __plstream_h__
29 #define __plstream_h__
68 virtual void elements(
int& _nx,
int& _ny ) = 0;
137 const char *driver = NULL,
const char *file = NULL );
139 const char *driver = NULL,
const char *file = NULL );
149 void adv(
PLINT page );
160 #endif // PL_DEPRECATED
166 void svect(
const PLFLT *arrow_x = NULL,
const PLFLT *arrow_y = NULL,
PLINT npts = 0,
bool fill =
false );
184 void box(
const char *xopt,
PLFLT xtick,
PLINT nxsub,
189 void box3(
const char *xopt,
const char *xlabel,
PLFLT xtick,
PLINT nsubx,
190 const char *yopt,
const char *ylabel,
PLFLT ytick,
PLINT nsuby,
191 const char *zopt,
const char *zlabel,
PLFLT ztick,
PLINT nsubz );
208 void col0(
PLINT icol0 );
217 void col1(
PLFLT c );
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 );
441 #endif // PL_DEPRECATED
453 void lab(
const char *xlabel,
const char *ylabel,
const char *tlabel );
456 void legend(
PLFLT *p_legend_width,
PLFLT *p_legend_height,
462 PLFLT text_justification,
463 const PLINT *text_colors,
const char *
const *text,
464 const PLINT *box_colors,
const PLINT *box_patterns,
465 const PLFLT *box_scales,
const PLFLT *box_line_widths,
466 const PLINT *line_colors,
const PLINT *line_styles,
467 const PLFLT *line_widths,
468 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
469 const PLINT *symbol_numbers,
const char *
const *symbols );
471 void colorbar(
PLFLT *p_colorbar_width,
PLFLT *p_colorbar_height,
477 PLINT n_labels,
PLINT *label_opts,
const char *
const *label,
478 PLINT n_axes,
const char *
const *axis_opts,
480 PLINT *n_values,
const PLFLT *
const *values );
496 void lsty(
PLINT lin );
507 const PLINT *plotentries,
PLINT nplotentries );
512 const char *
name,
const char *
string,
514 const PLINT *plotentries,
PLINT nplotentries );
616 void poly3(
PLINT n,
const PLFLT *x,
const PLFLT *y,
const PLFLT *z,
const bool *draw,
bool ifcc );
624 void psty(
PLINT patt );
648 #endif // PL_DEPRECATED
654 #endif // PL_DEPRECATED
662 void scmap0n(
PLINT ncol0 );
666 void scmap1n(
PLINT ncol1 );
670 void scmap1_range(
PLFLT min_color,
PLFLT max_color );
674 void gcmap1_range(
PLFLT &min_color,
PLFLT &max_color );
695 void scmap1l(
bool itype,
PLINT npts,
const PLFLT *intensity,
696 const PLFLT *coord1,
const PLFLT *coord2,
const PLFLT *coord3,
const bool *alt_hue_path = NULL );
705 void scmap1la(
bool itype,
PLINT npts,
const PLFLT *intensity,
707 const bool *alt_hue_path = NULL );
727 void scolor(
PLINT color );
731 void scompression(
PLINT compression );
735 void sdev(
const char *devname );
739 void gdev(
char *devname );
754 void sdiori(
PLFLT rot );
766 void sesc(
char esc );
775 void setcontlabelformat(
PLINT lexp,
PLINT sigdig );
787 void sfnam(
const char *fnam );
791 void sdevdata(
void *data );
862 void smem(
PLINT maxx,
PLINT maxy,
void *plotmem );
866 void smema(
PLINT maxx,
PLINT maxy,
void *plotmem );
874 void sori(
PLINT ori );
883 void spause(
bool pause );
887 void spal0(
const char *filename );
891 void spal1(
const char *filename,
bool interpolate =
true );
895 void sstrm(
PLINT strm );
911 void start(
const char *devname,
PLINT nx,
PLINT ny );
923 void string(
PLINT n,
const PLFLT *x,
const PLFLT *y,
const char *
string );
935 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
938 bool y_ascl,
bool acc,
940 const PLINT colline[],
const PLINT styline[],
const char *legline[],
941 const char *labx,
const char *laby,
const char *labtop );
949 void stripd(
PLINT id );
979 void sxwin(
PLINT window_id );
999 void timefmt(
const char *fmt );
1004 void vasp(
PLFLT aspect );
1028 void width(
PLFLT width );
1035 void xormod(
bool mode,
bool *status );
1040 void seed(
unsigned int s );
1042 PLFLT randd(
void );
1049 void gFileDevs(
const char ***p_menustr,
const char ***p_devname,
1054 void sKeyEH(
void ( *KeyEH )(
PLGraphicsIn *,
void *,
int * ),
1059 void sbopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1063 void seopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1071 void sexit(
int ( *handler )(
const char * ) );
1129 void ClearOpts(
void );
1133 void ResetOpts(
void );
1141 void SetUsage(
char *program_string,
char *usage_string );
1145 PLINT setopt(
const char *opt,
const char *optarg );
1149 int SetOpt(
const char *opt,
const char *optarg );
1153 int ParseOpts(
int *p_argc,
const char **
argv,
PLINT mode );
1157 void OptUsage(
void );
1163 void gfile( FILE **p_file );
1167 void sfile( FILE *file );
1171 void gesc(
char *p_esc );
1175 void cmd(
PLINT op,
void *ptr );
1179 PLINT FindName(
char *p );
1183 char *FindCommand(
char *fn );
1188 void GetName(
char *dir,
char *subdir,
char *filename,
char **filespec );
1192 PLINT GetInt(
char *s );
1196 PLFLT GetFlt(
char *s );
1280 void spause(
PLINT pause );
1282 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
1287 const PLINT colline[],
const PLINT styline[],
const char *legline[],
1288 const char *labx,
const char *laby,
const char *labtop );
1295 #endif // __plstream_h__
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
void(* PLMAPFORM_callback)(PLINT n, PLFLT_NC_VECTOR x, PLFLT_NC_VECTOR y)
static void arc(PLStream *, arc_struct *)
virtual PLFLT operator()(int ix, int iy) const =0
void mapform(PLINT n, PLFLT *x, PLFLT *y)
virtual void elements(int &nx, int &ny) const
PLDLLIMPEXP_CXX void tr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
virtual void elements(int &_nx, int &_ny)=0
PLINT(* PLDEFINED_callback)(PLFLT x, PLFLT y)
void(* PLFILL_callback)(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y)
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)
void(* PLTRANSFORM_callback)(PLFLT x, PLFLT y, PLFLT_NC_SCALAR xp, PLFLT_NC_SCALAR yp, PLPointer data)
static PLStream * pls[PL_NSTREAMS]
virtual void min_max(PLFLT &_min, PLFLT &_max)=0
static PLOptionTable options[]
virtual PLFLT operator()(int i, int j) const =0
static int scol0(Tcl_Interp *interp, register PlFrame *plFramePtr, int i, const char *col, int *p_changed)
void Coord_Xform_evaluator(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
void(* PLLABEL_FUNC_callback)(PLINT axis, PLFLT value, PLCHAR_NC_VECTOR label, PLINT length, PLPointer data)
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)
virtual ~Contourable_Data()
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)