plot3.h File Reference

#include "common.h"
#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 x_1, int y_1, int x_2, int y_2)
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 x_1, int y_1, int x_2, int y_2)
void pl_box (FILE *plotfp, int x_1, int y_1, int x_2, int y_2)
void pl_color (FILE *plotfp, int r, int g, int b)
void pl_flush (FILE *plotfp)
void pl_3space (FILE *plotfp, int x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
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 x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
void pl_3box (FILE *plotfp, int x_1, int y_1, int z_1, int x_2, int y_2, int z_2)
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 x_1, double y_1, double x_2, double y_2)
void pd_circle (FILE *plotfp, double x, double y, double r)
void pd_arc (FILE *plotfp, double xc, double yc, double x_1, double y_1, double x_2, double y_2)
void pd_box (FILE *plotfp, double x_1, double y_1, double x_2, double y_2)
void pd_3space (FILE *plotfp, double x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
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 x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
void pd_3box (FILE *plotfp, double x_1, double y_1, double z_1, double x_2, double y_2, double z_2)
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 BU_FORTRAN (f2list, F2LIST)(FILE **fpp
void tp_3list (FILE *fp, double *x, double *y, double *z, int npoints)
void BU_FORTRAN (f3list, F3LIST)(FILE **fpp
void tp_2mlist (FILE *fp, double *x, double *y, int npoints, int flag, int mark, int interval, double size)
void BU_FORTRAN (f2mlst, F2MLST)(FILE **fp
void tp_2marker (FILE *fp, int c, double x, double y, double scale)
void BU_FORTRAN (f2mark, F2MARK)(FILE **fp
void tp_3marker (FILE *fp, int c, double x, double y, double z, double scale)
void BU_FORTRAN (f3mark, F3MARK)(FILE **fp
void tp_2number (FILE *fp, double input, int x, int y, int cscale, double theta, int digits)
void BU_FORTRAN (f2numb, F2NUMB)(FILE **fp
void tp_scale (int idata[], int elements, int mode, int length, int odata[], double *min, double *dx)
void BU_FORTRAN (fscale, FSCALE)(int idata[]
void tp_2symbol (FILE *fp, char *string, double x, double y, double scale, double theta)
void BU_FORTRAN (f2symb, F2SYMB)(FILE **fp
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 BU_FORTRAN (fplot, FPLOT)(FILE **fp
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!

Variables

void float * x
void float float * y
void float float int * n
void float float float * z
void float float int * np
void float float int int * flag
void float float int int int * mark
void float float int int int int * interval
void float float int int int
int float * 
size
void int * c
void int float float float * scale
void float * input
void float int int float * cscale
void float int int float float * theta
void float int int float float
int * 
digits
void int * elements
void int char * mode
void int char int * length
void int char int int odata []
void int char int int double * min
void int char int int double
double * 
dx
void char * string
void int * xp
void int int * yp
void int int int * xl
void int int int int * yl
void int int int int char * xtitle
void int int int int char char * ytitle

Detailed Description

This is a ANSI C header for LIBPLOT3 giving function prototypes. This header file will also work if called by a "traditional" C compiler.

Definition in file plot3.h.

Generated on Tue Dec 11 13:14:28 2012 for LIBBN by  doxygen 1.6.3