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 / examples / example10.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-23  |  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.