ASAP 2460 Operator’s Manual Appendix G
246-42800-01 - Aug 2013 G-5
mic.graph(title='User Graph', xlabel='X axis', ylabel='Y axis',
yylabel='YY axis', xlinear=True, ylinear=True, yylinear=True)
Create a new graphical report.
Keyword arguments:
title --- the graphical report title (default = 'User Graph')
xlabel --- x-axis label (default = 'X axis')
ylabel --- y-axis label (default = 'Y axis')
yylabel --- yy-axis label (default = 'YY axis')
xlinear --- x-axis linear scale; if false, use log scale (default = True)
ylinear --- y-axis linear scale; if false, use log scale (default = True)
yylinear --- yy-axis linear scale; if false, use log scale (default = True)
mic.graph.add (self, name, x, y, yyaxis=False, color=None, linestyle='-', marker='a',
graphtype='both')
Add a curve to the last created graphical report.
Keyword arguments:
name --- the curve name
x --- list of x values; must be a list of floats (or convertible) and the same length as y
y --- list of y values; must be a list of floats (or convertible) and the same length as x
yyaxis --- place this curve on the yy-axis if True otherwise place on the
y-axis (default = False)
color --- RGB color as an HTML hex string (e.g., '#4169e1') or a three- element list or
tuple (e.g., [65,105,225]); if None, color is automatically selected
(default = None)
linestyle --- line style; (default = '-')
'-' : solid
'--' : dash
'.' : dot
'-.' : dash dot
'-..' : dash dot dot
marker --- marker shape; (default = 'a')
'' or None : no marker
'+' : plus
'o' or '0' : circle
'x' : cross
'^' : up triangle
'v' : down triangle
's' : square
'd' : diamond
'8' : hourglass
'~' : horizontal hourglass
'a' : automatically selected
TABLE 2: Function Reference for mic Python Module (User-defined Reports) (continued)