Download Print this page

Casio CLASSWIZ CG Software User's Manual page 125

Graphics calculator

Advertisement

Syntax 1: grid(option[,color])
Specifies show/hide grid. You can also specify the grid color at the same time.
•  option argument: Specifies show/hide grid.
-  To specify using str type, use the keywords below.
"on", "True", or "true": Show grid
"off", "False", or "false": Hide grid
-  To specify using bool type, use the terms below.
True: Show grid
False: Hide grid
•  color argument: Specifies the grid color.
-  Type: str
-  How to specify: Use the syntax grid(option,color="keyword") to specify the grid color. For information
about text strings that can be specified as keywords, see
-  Operation when omitted: The grid is drawn with solid gray lines. (The grid is not shown if the "Hide grid"
argument option is specified.)
 
Syntax 2: grid(color)
Specifies the grid color. Also switches to "Show grid." (This is the same as when grid("on") is specified in
Syntax 1.)
•  color argument: Specifies the grid color. The type and method for specifying the color are the same as that
for Syntax 1.
 
Syntax 3: grid()     (no argument)
Toggles the grid setting between show and hide.
•  For example, calling grid() after grid("on") toggles the grid from show to hide.
•  Calling grid() after grid("off") toggles the grid from hide to show. In this case, the grid is drawn as solid gray.
Note
•  If axis was used to hide the axis, the grid will also be hidden.
Drawing Graphs and Text Strings
plot()
Plots a point or draws a line segment.
 
Syntax 1: plot( x , y [,color])
Plots a point at the specified coordinates. You can also specify the color of the point.
•  x , y arguments: Specifies coordinates ( x , y ).
-  Type: int or float
•  color argument: Specifies the color.
-  Type: str
-  How to specify: Use the syntax plot( x , y ,"keyword") to specify the color. For information about text strings
that can be specified as keywords, see
-  Operation when omitted: The color is specified automatically. For details, see
(page
129).
 
Syntax 2: plot([list x ,]list y [,color])
Draws a line segment connecting multiple specified coordinates. You can also specify the color of the line
segment.
•  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
-  Omitting list x automatically assigns list x = [0,1,2,3,...].
-  When both list x and list y are specified, both lists must contain the same number of elements.
•  The color argument is the same as that for Syntax 1.
"Color Keywords" (page
"Color Keywords" (page
, y
; x
, y
1
1
2
2
125
129).
129).
"Auto Color Specification"
; x
, y
; ...).
3
3

Advertisement

loading
Need help?

Need help?

Do you have a question about the CLASSWIZ CG and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fx-cg100Fx-1au graph