#include "bu.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for plot3.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | pl_mat_idn(_mat) MAT_IDN( _mat ) |
#define | pl_mat_zero(_mat) MAT_ZERO( _mat ) |
#define | pl_mat_copy(_mat1, _mat2) MAT_COPY( _mat1, _mat2 ) |
#define | PL_OUTPUT_MODE_BINARY 0 |
#define | PL_OUTPUT_MODE_TEXT 1 |
#define | PL_FORTRAN(lc, uc) BU_FORTRAN(lc,uc) |
Functions | |
int | pl_getOutputMode () |
void | pl_setOutputMode (int mode) |
void | pl_point (FILE *plotfp, int x, int y) |
void | pl_line (FILE *plotfp, int fx, int fy, int tx, int ty) |
void | pl_linmod (FILE *plotfp, char *s) |
void | pl_move (FILE *plotfp, int x, int y) |
void | pl_cont (FILE *plotfp, int x, int y) |
void | pl_label (FILE *plotfp, char *s) |
void | pl_space (FILE *plotfp, int x1, int y1, int x2, int y2) |
void | pl_erase (FILE *plotfp) |
void | pl_circle (FILE *plotfp, int x, int y, int r) |
void | pl_arc (FILE *plotfp, int xc, int yc, int x1, int y1, int x2, int y2) |
void | pl_box (FILE *plotfp, int x1, int y1, int x2, int y2) |
void | pl_color (FILE *plotfp, int r, int g, int b) |
void | pl_flush (FILE *plotfp) |
void | pl_3space (FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2) |
void | pl_3point (FILE *plotfp, int x, int y, int z) |
void | pl_3move (FILE *plotfp, int x, int y, int z) |
void | pl_3cont (FILE *plotfp, int x, int y, int z) |
void | pl_3line (FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2) |
void | pl_3box (FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2) |
void | pd_point (FILE *plotfp, double x, double y) |
void | pd_line (FILE *plotfp, double fx, double fy, double tx, double ty) |
void | pd_move (FILE *plotfp, double x, double y) |
void | pd_cont (FILE *plotfp, double x, double y) |
void | pd_space (FILE *plotfp, double x1, double y1, double x2, double y2) |
void | pd_circle (FILE *plotfp, double x, double y, double r) |
void | pd_arc (FILE *plotfp, double xc, double yc, double x1, double y1, double x2, double y2) |
void | pd_box (FILE *plotfp, double x1, double y1, double x2, double y2) |
void | pdv_3space (FILE *plotfp, const vect_t min, const vect_t max) |
void | pdv_3point (FILE *plotfp, const vect_t pt) |
void | pdv_3move (FILE *plotfp, const vect_t pt) |
void | pdv_3cont (FILE *plotfp, const vect_t pt) |
void | pdv_3line (FILE *plotfp, const vect_t a, const vect_t b) |
void | pdv_3box (FILE *plotfp, const vect_t a, const vect_t b) |
void | pd_3space (FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2) |
void | pd_3point (FILE *plotfp, double x, double y, double z) |
void | pd_3move (FILE *plotfp, double x, double y, double z) |
void | pd_3cont (FILE *plotfp, double x, double y, double z) |
void | pd_3line (FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2) |
void | pd_3box (FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2) |
void | pdv_3ray (FILE *fp, const point_t pt, const vect_t dir, double t) |
void | tp_i2list (FILE *fp, int *x, int *y, int npoints) |
void | tp_2list (FILE *fp, double *x, double *y, int npoints) |
void | f2list (FILE **fpp, float *x, float *y, int *n) |
void | tp_3list (FILE *fp, double *x, double *y, double *z, int npoints) |
void | f3list (FILE **fpp, float *x, float *y, float *z, int *n) |
void | tp_2mlist (FILE *fp, double *x, double *y, int npoints, int flag, int mark, int interval, double size) |
void | f2mlst (FILE **fp, float *x, float *y, int *np, int *flag, int *mark, int *interval, float *size) |
void | tp_2marker (FILE *fp, int c, double x, double y, double scale) |
void | f2mark (FILE **fp, int *c, float *x, float *y, float *scale) |
void | tp_3marker (FILE *fp, int c, double x, double y, double z, double scale) |
void | f3mark (FILE **fp, int *c, float *x, float *y, float *z, float *scale) |
void | tp_2number (FILE *fp, double input, int x, int y, int cscale, double theta, int digits) |
void | f2numb (FILE **fp, float *input, int *x, int *y, float *cscale, float *theta, int *digits) |
void | tp_scale (int idata[], int elements, int mode, int length, int odata[], double *min, double *dx) |
void | fscale (int idata[], int *elements, char *mode, int *length, int odata[], double *min, double *dx) |
void | tp_2symbol (FILE *fp, char *string, double x, double y, double scale, double theta) |
void | f2symb (FILE **fp, char *string, float *x, float *y, float *scale, float *theta) |
void | tp_plot (FILE *fp, int xp, int yp, int xl, int yl, char xtitle[], char ytitle[], float x[], float y[], int n, double cscale) |
void | fplot (FILE **fp, int *xp, int *yp, int *xl, int *yl, char *xtitle, char *ytitle, float *x, float *y, int *n, float *cscale) |
void | tp_ftoa (float x, char *s) |
This routine converts a floating point number into a string of ascii characters of the form "sX.XXXesXX". The string is null terminated. | |
void | tp_fixsc (float *x, int npts, float size, float *xs, float *xmin, float *xmax, float *dx) |
void | tp_sep (float x, float *coef, int *ex) |
tp_sep() divides a floating point number into a coefficient and an exponent. works in base ten. | |
double | tp_ipow (double x, int n) |
tp_ipow() raises a floating point number to a positve integer power. XXX Horribly inefficient! | |
void | tp_3axis (FILE *fp, char *string, point_t origin, mat_t rot, double length, int ccw, int ndigits, double label_start, double label_incr, double tick_separation, double char_width) |
void | f3axis (FILE **fp, char *string, float *x, float *y, float *z, float *length, float *theta, int *ccw, int *ndigits, float *label_start, float *label_incr, float *tick_separation, float *char_width) |
void | tp_3symbol (FILE *fp, char *string, point_t origin, mat_t rot, double scale) |
void | tp_3vector (FILE *plotfp, point_t from, point_t to, double fromheadfract, double toheadfract) |
void | f3vect (FILE **fp, float *fx, float *fy, float *fz, float *tx, float *ty, float *tz, float *fl, float *tl) |
For best results, before the
#include "plot3.h"
although not doing this should not be fatal.
Definition in file plot3.h.