A Advanced Reports - Python Module
Graphic Reports
Add a Curve
This script adds a curve to the last created graphical report:
1 mic.graph.add(name, x, y, yyaxis=False, color=None, linestyle='-',
2 marker='a', graphtype='both', interpolation='akima'):
3
4 Keyword arguments:
5
6 name--- the curve name
7 x--- list of x values; must be a list of floats
8 (or convertible) and the same length as y
9 y--- list of y values; must be a list of floats
10 (or convertible) and the same length as x
11 yyaxis--- place this curve on the yy-axis if True
12 otherwise place on the y-axis (default = False)
13 color--- RGB color as an HTML hex string (e.g., '#4169e1')
14 or a three-element list or tuple (e.g.,
[65,105,225]);
15 if None, color is automatically selected (default =
None)
16 linestyle --- line style; (default = '-')
17 '-': solid
18 '--': dash
19 '.': dot
20 '-.': dash dot
21 '-..': dash dot dot
22 marker--- marker shape; (default = 'a')
23 '+': plus
24 'o' or '0' : circle
25 'x': cross
26 '^': up triangle
27 'v': down triangle
A - 20
TriStar II Plus Operator Manual
303-42800-01 (Rev M ) — Sep 2023