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
/
plery1.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
|
423 b
|
20 lines
/* Plots single vertical error bar */
#include "plplot.h"
#include <math.h>
void plery1(x,ymin,ymax)
PLFLT x, ymin, ymax;
{
PLFLT mindef, minht, xpmm, ypmm;
PLINT xminor;
gmin(&mindef,&minht);
gpixmm(&xpmm,&ypmm);
xminor = max(1.0,minht*xpmm);
movwor(x,ymin);
plytik(wcpcx(x),wcpcy(ymin),xminor,xminor);
drawor(x,ymax);
plytik(wcpcx(x),wcpcy(ymax),xminor,xminor);
}