1 // plend and plend1 testing demo.
2 //
3
4 #include "plcdemos.h"
5
6 //--------------------------------------------------------------------------
7 // main
8 //
9 // Demonstrates absolute positioning of graphs on a page.
10 //--------------------------------------------------------------------------
11
12 int
main(int argc,char * argv[])13 main( int argc, char *argv[] )
14 {
15 // Parse and process command line arguments
16
17 (void) plparseopts( &argc, argv, PL_PARSE_FULL );
18
19 // Initialize plplot
20
21 plinit();
22 plenv( 0., 1., 0., 1., 1, 0 );
23 plend();
24 plinit();
25 plenv( 0., 10., 0., 10., 1, 0 );
26 plend();
27 exit( 0 );
28 }
29