1## Copyright (C) 1998, 1999, 2000 Joao Cardoso.
2##
3## This program is free software; you can redistribute it and/or modify it
4## under the terms of the GNU General Public License as published by the
5## Free Software Foundation; either version 2 of the License, or (at your
6## option) any later version.
7##
8## This program is distributed in the hope that it will be useful, but
9## WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11## General Public License for more details.
12##
13## This file is part of plplot_octave.
14## It is based on the corresponding demo function of PLplot.
15
16## Demonstrates absolute positioning of graphs on a page.
17
18
19function x10c
20
21  ## Parse and process command line arguments */
22
23  ## (void) plparseopts(&argc, argv, PL_PARSE_FULL);
24
25  ## Initialize plplot */
26
27  plinit();
28
29  pladv(0);
30  plvpor(0.0, 1.0, 0.0, 1.0);
31  plwind(0.0, 1.0, 0.0, 1.0);
32  plbox("bc", 0.0, 0, "bc", 0.0, 0);
33
34  plsvpa(50.0, 150.0, 50.0, 100.0);
35  plwind(0.0, 1.0, 0.0, 1.0);
36  plbox("bc", 0.0, 0, "bc", 0.0, 0);
37  plptex(0.5, 0.5, 1.0, 0.0, 0.5, "BOX at (50,150,50,100)");
38  plend1();
39endfunction
40
41
42