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

NAME

6       plaxes - Draw a box with axes, etc. with arbitrary origin
7

SYNOPSIS

9       plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)
10

DESCRIPTION

12       Draws a box around the currently defined viewport with arbitrary world-
13       coordinate origin specified by x0 and y0 and labels it with world coor‐
14       dinate  values  appropriate to the window.  Thus plaxes(3plplot) should
15       only be called after defining both viewport and window.  The  character
16       strings  xopt and yopt specify how the box should be drawn as described
17       below.  If ticks and/or subticks are to be drawn for a particular axis,
18       the  tick intervals and number of subintervals may be specified explic‐
19       itly, or they may be defaulted by setting the appropriate arguments  to
20       zero.
21
22       Redacted  form:   General:  plaxes(x0,  y0,  xopt,  xtick, nxsub, yopt,
23       ytick, nysub) Perl/PDL: plaxes(x0,  y0,  xtick,  nxsub,  ytick,  nysub,
24       xopt, yopt)
25
26
27       This function is not used in any examples.
28

ARGUMENTS

30       x0 (PLFLT, input)
31              World X coordinate of origin.
32
33       y0 (PLFLT, input)
34              World Y coordinate of origin.
35
36       xopt (const char *, input)
37              Pointer  to  character  string specifying options for horizontal
38              axis.  The string can include any combination of  the  following
39              letters  (upper  or  lower case) in any order: a: Draws axis, X-
40              axis is horizontal line  (y=0),  and  Y-axis  is  vertical  line
41              (x=0).  b: Draws bottom (X) or left (Y) edge of frame.  c: Draws
42              top (X) or right (Y) edge of frame.  f:  Always use fixed  point
43              numeric labels.  g: Draws a grid at the major tick interval.  h:
44              Draws a grid at the minor tick interval.  i: Inverts tick marks,
45              so they are drawn outwards, rather than inwards.  l: Labels axis
46              logarithmically.  This only affects the labels,  not  the  data,
47              and  so it is necessary to compute the logarithms of data points
48              before passing them to any of the drawing routines.   m:  Writes
49              numeric  labels  at  major  tick intervals in the unconventional
50              location (above box for X, right  of  box  for  Y).   n:  Writes
51              numeric labels at major tick intervals in the conventional loca‐
52              tion (below box for X, left of box for Y).  s: Enables  subticks
53              between  major  ticks,  only  valid  if t is also specified.  t:
54              Draws major ticks.
55
56
57       xtick (PLFLT, input)
58              World coordinate interval between major ticks on the x axis.  If
59              it  is  set  to  zero, PLplot automatically generates a suitable
60              tick interval.
61
62       nxsub (PLINT, input)
63              Number of subintervals between major  x  axis  ticks  for  minor
64              ticks.   If  it is set to zero, PLplot automatically generates a
65              suitable minor tick interval.
66
67       yopt (const char *, input)
68              Pointer to character  string  specifying  options  for  vertical
69              axis.   The  string  can  include any combination of the letters
70              defined above for xopt, and in addition may  contain:  v:  Write
71              numeric  labels  for  vertical  axis parallel to the base of the
72              graph, rather than parallel to the axis.
73
74
75       ytick (PLFLT, input)
76              World coordinate interval between major ticks on the y axis.  If
77              it  is  set  to  zero, PLplot automatically generates a suitable
78              tick interval.
79
80       nysub (PLINT, input)
81              Number of subintervals between major  y  axis  ticks  for  minor
82              ticks.   If  it is set to zero, PLplot automatically generates a
83              suitable minor tick interval.
84
85

AUTHORS

87       Geoffrey Furnish and Maurice LeBrun wrote and  maintain  PLplot.   This
88       man  page  was  automatically  generated from the DocBook source of the
89       PLplot  documentation,  maintained  by  Alan  W.   Irwin   and   Rafael
90       Laboissiere.
91

SEE ALSO

93       PLplot documentation at http://plplot.sourceforge.net/resources.
94
95
96
97                                  March, 2007                  PLAXES(3plplot)
Impressum