29 #ifndef __plstream_h__
30 #define __plstream_h__
69 virtual void elements(
int& _nx,
int& _ny ) = 0;
108 const char *driver = NULL,
const char *file = NULL );
110 const char *driver = NULL,
const char *file = NULL );
120 void adv(
PLINT page );
131 #endif // PL_DEPRECATED
138 void svect(
const PLFLT *arrow_x,
const PLFLT *arrow_y,
PLINT npts,
bool fill );
156 void box(
const char *xopt,
PLFLT xtick,
PLINT nxsub,
161 void box3(
const char *xopt,
const char *xlabel,
PLFLT xtick,
PLINT nsubx,
162 const char *yopt,
const char *ylabel,
PLFLT ytick,
PLINT nsuby,
163 const char *zopt,
const char *zlabel,
PLFLT ztick,
PLINT nsubz );
180 void col0(
PLINT icol0 );
189 void col1(
PLFLT c );
291 void font(
PLINT ifont );
295 void fontld(
PLINT fnt );
319 void gcompression(
PLINT& compression );
327 void gdiori(
PLFLT& rot );
343 void gfnam(
char *fnam );
351 void glevel(
PLINT &p_level );
384 void gver(
char *p_ver );
415 #endif // PL_DEPRECATED
427 void lab(
const char *xlabel,
const char *ylabel,
const char *tlabel );
430 void legend(
PLFLT *p_legend_width,
PLFLT *p_legend_height,
436 PLFLT text_justification,
437 const PLINT *text_colors,
const char *
const *
text,
438 const PLINT *box_colors,
const PLINT *box_patterns,
439 const PLFLT *box_scales,
const PLFLT *box_line_widths,
440 const PLINT *line_colors,
const PLINT *line_styles,
441 const PLFLT *line_widths,
442 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
443 const PLINT *symbol_numbers,
const char *
const *symbols );
470 void lsty(
PLINT lin );
544 int parseopts(
int *p_argc,
const char **
argv,
PLINT mode );
568 void psty(
PLINT patt );
588 #endif // PL_DEPRECATED
594 #endif // PL_DEPRECATED
602 void scmap0n(
PLINT ncol0 );
606 void scmap1n(
PLINT ncol1 );
610 void scmap1_range(
PLFLT min_color,
PLFLT max_color );
614 void gcmap1_range(
PLFLT &min_color,
PLFLT &max_color );
635 void scmap1l(
bool itype,
PLINT npts,
const PLFLT *intensity,
636 const PLFLT *coord1,
const PLFLT *coord2,
const PLFLT *coord3,
const bool *alt_hue_path = NULL );
645 void scmap1la(
bool itype,
PLINT npts,
const PLFLT *intensity,
647 const bool *alt_hue_path = NULL );
667 void scolor(
PLINT color );
671 void scompression(
PLINT compression );
675 void sdev(
const char *devname );
679 void gdev(
char *devname );
694 void sdiori(
PLFLT rot );
706 void sesc(
char esc );
715 void setcontlabelformat(
PLINT lexp,
PLINT sigdig );
727 void sfnam(
const char *fnam );
742 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
751 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
774 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
788 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
803 void smem(
PLINT maxx,
PLINT maxy,
void *plotmem );
807 void smema(
PLINT maxx,
PLINT maxy,
void *plotmem );
815 void sori(
PLINT ori );
824 void spause(
bool pause );
828 void spal0(
const char *filename );
832 void spal1(
const char *filename,
bool interpolate =
true );
836 void sstrm(
PLINT strm );
852 void start(
const char *devname,
PLINT nx,
PLINT ny );
876 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
879 bool y_ascl,
bool acc,
881 const PLINT colline[],
const PLINT styline[],
const char *legline[],
882 const char *labx,
const char *laby,
const char *labtop );
890 void stripd(
PLINT id );
921 void sxwin(
PLINT window_id );
941 void timefmt(
const char *fmt );
946 void vasp(
PLFLT aspect );
970 void width(
PLFLT width );
977 void xormod(
bool mode,
bool *status );
982 void seed(
unsigned int s );
991 void gFileDevs(
const char ***p_menustr,
const char ***p_devname,
996 void sKeyEH(
void ( *KeyEH )(
PLGraphicsIn *,
void *,
int * ),
1001 void sbopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1005 void seopH(
void ( *handler )(
void *,
int * ),
void *handlier_data );
1013 void sexit(
int ( *handler )(
const char * ) );
1071 void ClearOpts(
void );
1075 void ResetOpts(
void );
1083 void SetUsage(
char *program_string,
char *usage_string );
1087 int setopt(
const char *
opt,
const char *optarg );
1091 int SetOpt(
const char *
opt,
const char *optarg );
1095 int ParseOpts(
int *p_argc,
const char **
argv,
PLINT mode );
1099 void OptUsage(
void );
1105 void gfile( FILE **p_file );
1109 void sfile( FILE *file );
1113 void gesc(
char *p_esc );
1121 int FindName(
char *p );
1125 char *FindCommand(
char *fn );
1130 void GetName(
char *dir,
char *subdir,
char *filename,
char **filespec );
1134 PLINT GetInt(
char *s );
1138 PLFLT GetFlt(
char *s );
1227 void spause(
PLINT pause );
1229 void stripc(
PLINT *
id,
const char *xspec,
const char *yspec,
1234 const PLINT colline[],
const PLINT styline[],
const char *legline[],
1235 const char *labx,
const char *laby,
const char *labtop );
1242 #endif // __plstream_h__
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const * label
def cmd
Now do the PLplot API.
static void arc(PLStream *, arc_struct *)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT nx
virtual PLFLT operator()(int ix, int iy) const =0
void mapform(PLINT n, PLFLT *x, PLFLT *y)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT bb_color
void PLFLT PLINT PLINT position
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT const PLINT * n_values
virtual void elements(int &nx, int &ny) const
virtual void elements(int &_nx, int &_ny)=0
void PLFLT PLINT PLINT PLFLT x
void xform(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT const PLINT const PLFLT * a
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const * axis_opts
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT low_cap_color
PLFLT Contourable_Data_evaluator(PLINT i, PLINT j, PLPointer p)
static void pltr(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data)
static struct line line[]
void c_plsstrm(PLINT strm)
void PLFLT PLINT PLINT PLFLT PLFLT y
static void gradient(PLStream *pls, short *xa, short *ya, PLINT npts)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT high_cap_color
Contourable_Data(int nx, int ny)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT cont_color
virtual void min_max(PLFLT &_min, PLFLT &_max)=0
static PLOptionTable options[]
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT x_length
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 PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT cont_width
void PLFLT * p_colorbar_height
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT bb_style
void Coord_Xform_evaluator(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static PLINT active_streams
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT bg_color
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT * label_opts
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT * sub_ticks
dx
if { $zoomopts($this,1) == 0 } then {
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT * ticks
virtual void set_stream(void)
virtual ~Contourable_Data()
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT y_length
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT n_labels