home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 344b.lha / plplot_v2.6 / src / movphy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-27  |  349 b   |  23 lines

  1. /*      MOVE AND DRAW ROUTINES IN PHYSICAL COORDINATES                */
  2.  
  3. /* Move to physical coordinates (x,y) */
  4.  
  5. #include "plplot.h"
  6.  
  7. void movphy(x,y)
  8. PLINT x,y;
  9. {
  10.       scurr(x,y);
  11. }
  12.  
  13. /* Draws to physical coordinates (x,y) */
  14.  
  15. void draphy(x,y)
  16. PLINT x,y;
  17. {
  18.       PLINT currx, curry;
  19.       gcurr(&currx,&curry);
  20.       pllclp(currx,curry,x,y);
  21. }
  22.  
  23.