home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d01xx / d0165.lha / PlotView / Plot / plottst.c < prev    next >
C/C++ Source or Header  |  1988-11-22  |  442b  |  28 lines

  1. /* plottst.c : test the Unix plot commands
  2.  *
  3.  * by Joel Swank 4/19/88
  4.  */
  5.  
  6. main(argc,argv)
  7. int argc;
  8. char *argv[];
  9. {
  10.     openpl();
  11.     space(0,0,4096,4096);
  12.     erase();
  13.     move(100,100);
  14.     label("Test label");
  15.     line(200,300,300,400);
  16.     circle(500,500,50);
  17.     circle(500,500,200);
  18.     point(1000,1000);
  19.     arc(1000,1000,1100,1000,1000,1100);
  20.     cont(600,700);
  21.     point(50,50);
  22.     point(50,52);
  23.     point(50,54);
  24.     linemod("dotted");
  25.     line(250,350,350,450);
  26.     closepl();
  27. }
  28.