Object Reference : Graph Creation Commands
  
 
xyerrbar
Display an XY error bar graph view (if possible).
The data must be in the form of a multiple of four series or columns. The first series is the x-axis points. The second series is the high error bar and the third series is the low error bar. The fourth series or column is the data of interest plotted as a symbol.
Syntax
xyerrbar(options) o1 o2 o3 o4 [o5 ... ]
object_name.xyerrbar(options)
where o1, o2, o3, o4,... are series or group objects.
Options
Template and printing options
 
o=template
Use appearance options from the specified template. template may be a predefined template keyword (“default” - current global defaults, “classic”, “modern”, “reverse”, “midnight”, “spartan”, “monochrome”) or a graph in the workfile.
t=graph_name
Use appearance options and copy text and shading from the specified graph.
b / -b
[Apply / Remove] bold modifiers of the base template style specified using the “o=” option above.
w / -w
[Apply / Remove] wide modifiers of the base template style specified using the “o=” option above.
reset
Resets all graph options to the global defaults. May be used to remove existing customization of the graph.
p
Print the graph.
The options which support the “–” may be preceded by a “+” or “–” indicating whether to turn on or off the option. The “+” is optional.
Panel options
The following option applies when graphing panel structured data.
 
panel=arg (default taken from global settings)
Panel data display: “stack” (stack the cross-sections), “individual” or “i” (separate graph for each cross-section), “combine” or “c” (combine cross-section graphs in a single frame), “mean” (plot means across cross-sections), “median” (plot median across cross-sections).
(Note: more general versions of these panel graphs may be constructed as categorical graphs.)
Basic examples
xyerrbar open xhigh xlow xval
displays an error bar graph using the series XHIGH, XLOW, and XVAL against the OPEN series.
group g1 open xhigh xlow xval
g1.xyerrbar
creates an error bar graph view of the four series in G1.
g1.xyerrbar(o=magazine, w)
displays an xyerrbar graph using the settings of the predefined template “magazine,” applying the wide modifier.
Panel examples
g1.xyerrbar(panel=individual)
displays an xyerrbar graph for each cross-section in a separate frame.
g1.xyerrbar(panel=mean)
displays an xyerrbar graph formed by computing the means for the series across cross-sections.
Cross-references
See “Graphing Data” for a detailed discussion of graphs in EViews, and “Templates” for a discussion of graph templates.
See Graph::graph for graph declaration and other graph types.