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:
C/C++ Source or Header  |  1990-03-23  |  335 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. PLFLT 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. PLFLT x,y;
  17. {
  18.    PLINT currx, curry;
  19.    gcurr(&currx,&curry);
  20.    pllclp(currx,curry,wcpcx(x),wcpcy(y));
  21. }
  22.