1PLENV(3plplot)                    PLplot API                    PLENV(3plplot)
2
3
4

NAME

6       plenv - Set up standard window and draw box
7

SYNOPSIS

9       plenv(xmin, xmax, ymin, ymax, just, axis)
10

DESCRIPTION

12       Sets up plotter environment for simple graphs by calling pladv(3plplot)
13       and  setting  up  viewport  and  window  to  sensible  default  values.
14       plenv(3plplot)  leaves  enough  room around most graphs for axis labels
15       and a title. When these defaults are not suitable, use  the  individual
16       routines  plvpas(3plplot), plvpor(3plplot), or plvasp(3plplot) for set‐
17       ting up the viewport, plwind(3plplot)  for  defining  the  window,  and
18       plbox(3plplot) for drawing the box.
19
20       Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)
21
22       This function is used in example 1,3,9,13,14,19-22.
23

ARGUMENTS

25       xmin (PLFLT, input)
26              Value of x at left-hand edge of window (in world coordinates).
27
28       xmax (PLFLT, input)
29              Value of x at right-hand edge of window (in world coordinates).
30
31       ymin (PLFLT, input)
32              Value of y at bottom edge of window (in world coordinates).
33
34       ymax (PLFLT, input)
35              Value of y at top edge of window (in world coordinates).
36
37       just (PLINT, input)
38              Controls how the axes will be scaled: -1: the scales will not be
39              set,  the  user  must  set   up   the   scale   before   calling
40              plenv(3plplot)  using plsvpa(3plplot), plvasp(3plplot) or other.
41              0: the x and y axes are scaled independently to use as  much  of
42              the  screen  as possible.  1: the scales of the x and y axes are
43              made equal.  2: the axis of the x and y axes are made equal, and
44              the plot box will be square.
45
46
47       axis (PLINT, input)
48              Controls drawing of the box around the plot: -2: draw no box, no
49              tick marks, no numeric tick labels, no axes.  -1: draw box only.
50              0: draw box, ticks, and numeric tick labels.  1: also draw coor‐
51              dinate axes at x=0 and y=0.  2: also draw a grid at  major  tick
52              positions  in  both  coordinates.   3: also draw a grid at minor
53              tick positions in both coordinates.  10: same as 0 except  loga‐
54              rithmic  x tick marks. (The x data have to be converted to loga‐
55              rithms separately.)  11: same as 1  except  logarithmic  x  tick
56              marks.  (The  x  data  have  to be converted to logarithms sepa‐
57              rately.)  12: same as 2 except logarithmic x tick marks. (The  x
58              data  have  to be converted to logarithms separately.)  13: same
59              as 3 except logarithmic x tick marks. (The x  data  have  to  be
60              converted to logarithms separately.)  20: same as 0 except loga‐
61              rithmic y tick marks. (The y data have to be converted to  loga‐
62              rithms  separately.)   21:  same  as 1 except logarithmic y tick
63              marks. (The y data have to  be  converted  to  logarithms  sepa‐
64              rately.)   22: same as 2 except logarithmic y tick marks. (The y
65              data have to be converted to logarithms separately.)   23:  same
66              as  3  except  logarithmic  y tick marks. (The y data have to be
67              converted to logarithms separately.)  30: same as 0 except loga‐
68              rithmic  x  and  y tick marks. (The x and y data have to be con‐
69              verted to logarithms separately.)  31: same as  1  except  loga‐
70              rithmic  x  and  y tick marks. (The x and y data have to be con‐
71              verted to logarithms separately.)  32: same as  2  except  loga‐
72              rithmic  x  and  y tick marks. (The x and y data have to be con‐
73              verted to logarithms separately.)  33: same as  3  except  loga‐
74              rithmic  x  and  y tick marks. (The x and y data have to be con‐
75              verted to logarithms separately.)
76
77
78

AUTHORS

80       Geoffrey Furnish and Maurice LeBrun wrote and  maintain  PLplot.   This
81       man  page  was  automatically  generated from the DocBook source of the
82       PLplot  documentation,  maintained  by  Alan  W.   Irwin   and   Rafael
83       Laboissiere.
84

SEE ALSO

86       PLplot documentation at http://plplot.sourceforge.net/resources.
87
88
89
90                                  March, 2007                   PLENV(3plplot)
Impressum