plot3.c File Reference

A public-domain UNIX plot library, for 2-D and 3-D plotting in 16-bit VAX signed integer spaces, or 64-bit IEEE floating point. More...

#include "common.h"
#include <stdio.h>
#include "machine.h"
#include "vmath.h"
#include "plot3.h"

Include dependency graph for plot3.c:

Go to the source code of this file.

Defines

#define putsi(a)   putc(a,plotfp); putc((a>>8),plotfp)

Functions

int pl_getOutputMode ()
void pl_setOutputMode (int mode)
void pl_point (register FILE *plotfp, int x, int y)
 plot a point
void pl_line (register FILE *plotfp, int x1, int y1, int x2, int y2)
void pl_linmod (register FILE *plotfp, register char *s)
void pl_move (register FILE *plotfp, int x, int y)
void pl_cont (register FILE *plotfp, int x, int y)
void pl_label (register FILE *plotfp, register char *s)
void pl_space (register FILE *plotfp, int x1, int y1, int x2, int y2)
void pl_erase (register FILE *plotfp)
void pl_circle (register FILE *plotfp, int x, int y, int r)
void pl_arc (register FILE *plotfp, int xc, int yc, int x1, int y1, int x2, int y2)
void pl_box (register FILE *plotfp, int x1, int y1, int x2, int y2)
void pl_color (register FILE *plotfp, int r, int g, int b)
void pl_flush (register FILE *plotfp)
void pl_3space (register FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2)
void pl_3point (register FILE *plotfp, int x, int y, int z)
void pl_3move (register FILE *plotfp, int x, int y, int z)
void pl_3cont (register FILE *plotfp, int x, int y, int z)
void pl_3line (register FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2)
void pl_3box (register FILE *plotfp, int x1, int y1, int z1, int x2, int y2, int z2)
void pd_point (register FILE *plotfp, double x, double y)
void pd_line (register FILE *plotfp, double x1, double y1, double x2, double y2)
void pd_move (register FILE *plotfp, double x, double y)
void pd_cont (register FILE *plotfp, double x, double y)
void pd_space (register FILE *plotfp, double x1, double y1, double x2, double y2)
void pd_circle (register FILE *plotfp, double x, double y, double r)
void pd_arc (register FILE *plotfp, double xc, double yc, double x1, double y1, double x2, double y2)
void pd_box (register FILE *plotfp, double x1, double y1, double x2, double y2)
void pdv_3space (register FILE *plotfp, const fastf_t *min, const fastf_t *max)
void pd_3space (register FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2)
void pdv_3point (register FILE *plotfp, const fastf_t *pt)
void pd_3point (register FILE *plotfp, double x, double y, double z)
void pdv_3move (register FILE *plotfp, const fastf_t *pt)
void pd_3move (register FILE *plotfp, double x, double y, double z)
void pdv_3cont (register FILE *plotfp, const fastf_t *pt)
void pd_3cont (register FILE *plotfp, double x, double y, double z)
void pdv_3line (register FILE *plotfp, const fastf_t *a, const fastf_t *b)
void pd_3line (register FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2)
void pdv_3box (register FILE *plotfp, const fastf_t *a, const fastf_t *b)
void pd_3box (register FILE *plotfp, double x1, double y1, double z1, double x2, double y2, double z2)
void pdv_3ray (FILE *fp, const fastf_t *pt, const fastf_t *dir, double t)


Detailed Description

A public-domain UNIX plot library, for 2-D and 3-D plotting in 16-bit VAX signed integer spaces, or 64-bit IEEE floating point.

These routines generate "UNIX plot" output (with the addition of 3-D commands). They behave almost exactly like the regular libplot routines, except:

  1. These all take a stdio file pointer, and can thus be used to create multiple plot files simultaneously.
  2. There are 3-D versions of most commands.
  3. There are IEEE floating point versions of the commands.
  4. The names have been changed.

The 3-D extensions are those of Doug Gwyn, from his System V extensions.

Author - Phillip Dykstra 24 Sep 1986

Source - SECAD/VLD Computing Consortium, Bldg 394 The U. S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005-5066

Definition in file plot3.c.


Generated on Mon Sep 18 01:25:03 2006 for BRL-CAD by  doxygen 1.4.6