Note
• The form of a point drawn at the coordinates specified by plot is always a cross (+).
• Executing plot without specifying anything for axis causes the axis to be adjusted automatically.
• If you input a "shape keyword" that is supported by PC-based Python for the color argument, the
keyword will be ignored without causing an error. If you input only a shape keyword for the color
argument, the color argument will be treated as if no argument was input. The behavior is the same
as when it is omitted.
bar(,)
Draws a bar chart.
Syntax 1: bar( x , y [,width])
Draws a single bar chart.
• x argument: Specifies the bar chart x -coordinate.
y argument: Specifies the bar chart height.
- x , y type: int or float
• width argument: Specifies the bar chart width (scale width along the x -axis). Specifying 0 draws using a
width of one dot.
- Type: int or float
- Initial default: 0.8 (0.8 when omitted)
Syntax 2: bar(list x ,list y [,width])
Draws a bar chart with one or multiple bars.
• list x argument: Each list element specifies the x -coordinate each bar.
list y argument: Each list element specifies the height of each bar.
- list x , list y type: list or tuple
- list x , list y element type: int or float
- The number of elements in list x and list y must match.
• The width argument is the same as that for Syntax 1.
Note
• Executing bar without specifying anything for axis causes the axis to be adjusted automatically.
• The color of a bar chart drawn using bar is specified automatically. For details, see
Specification" (page
scatter(,)
Draws a scatter plot.
Syntax 1: scatter( x , y )
Plots a point at the specified coordinates.
• x , y arguments: Specifies coordinates ( x , y ).
- x , y type: int or float
Syntax 2: scatter(list x ,list y )
Draws a scatter plot by plotting points at all of the specified coordinates.
• list x , list y arguments: Specifies multiple coordinates ( x
- list x , list y type: list or tuple
- list x , list y element type: int or float
- The number of elements in list x and list y must match.
Note
• The form of a point drawn at the coordinates specified by scatter is always a cross (+).
129).
, y
; x
, y
; x
, y
1
1
2
2
3
3
126
"Auto Color
; ...).
Need help?
Do you have a question about the CLASSWIZ CG and is the answer not in the manual?
Questions and answers