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

  1. /* Demonstration program for PLPLOT illustrating absolute positioning */
  2. /* of graphs on a page */
  3.  
  4. #include "plplot.h"
  5.  
  6. main()
  7. {
  8.    plstar(1,1);
  9.  
  10.    pladv(0);
  11.    plvpor(0.0,1.0,0.0,1.0);
  12.    plwind(0.0,1.0,0.0,1.0);
  13.    plbox("bc",0.0,0,"bc",0.0,0);
  14.  
  15.    plsvpa(50.0,150.0,100.0,150.0);
  16.    plwind(0.0,1.0,0.0,1.0);
  17.    plbox("bc",0.0,0,"bc",0.0,0);
  18.    plptex(0.5,0.5,1.0,0.0,0.5,"BOX at (50,150,100,150)");
  19.  
  20.    plend();
  21. }
  22.