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
/
movwor.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
|
335 b
|
22 lines
/* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
/* Move to world coordinates (x,y) */
#include "plplot.h"
void movwor(x,y)
PLFLT x,y;
{
scurr(wcpcx(x),wcpcy(y));
}
/* Draws to world coordinates (x,y) */
void drawor(x,y)
PLFLT x,y;
{
PLINT currx, curry;
gcurr(&currx,&curry);
pllclp(currx,curry,wcpcx(x),wcpcy(y));
}