home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
plplot.lzh
/
PLPLOT
/
PLPLOT.LZH
/
plplot
/
src
/
plerx1.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-03-23
|
425 b
|
20 lines
/* Plots single horizontal error bar */
#include "plplot.h"
#include <math.h>
void plerx1(xmin,xmax,y)
PLFLT xmin, xmax, y;
{
PLFLT mindef, minht, xpmm, ypmm;
PLINT yminor;
gmin(&mindef,&minht);
gpixmm(&xpmm,&ypmm);
yminor = max(1.0,minht*ypmm);
movwor(xmin,y);
plxtik(wcpcx(xmin),wcpcy(y),yminor,yminor);
drawor(xmax,y);
plxtik(wcpcx(xmax),wcpcy(y),yminor,yminor);
}