home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d2xx / d222 / plplot.lha / Plplot / src / source.zoo / movwor.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-05-15  |  333 b   |  22 lines

  1. /* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
  2.  
  3. /* Move to world coordinates (x,y) */
  4.  
  5. #include "plplot.h"
  6.  
  7. void movwor(x,y)
  8. float x,y;
  9. {
  10.    scurr(wcpcx(x),wcpcy(y));
  11. }
  12.  
  13. /* Draws to world coordinates (x,y) */
  14.  
  15. void drawor(x,y)
  16. float x,y;
  17. {
  18.    int currx, curry;
  19.    gcurr(&currx,&curry);
  20.    pllclp(currx,curry,wcpcx(x),wcpcy(y));
  21. }
  22.