User Manual
Table Of Contents
- Contents
- Getting Acquainted — Read This First!
- Chapter 1 Basic Operation
- Chapter 2 Manual Calculations
- 1. Basic Calculations
- 2. Special Functions
- 3. Specifying the Angle Unit and Display Format
- 4. Function Calculations
- 5. Numerical Calculations
- 6. Complex Number Calculations
- 7. Binary, Octal, Decimal, and Hexadecimal Calculations with Integers
- 8. Matrix Calculations
- 9. Vector Calculations
- 10. Metric Conversion Calculations
- Chapter 3 List Function
- Chapter 4 Equation Calculations
- Chapter 5 Graphing
- 1. Sample Graphs
- 2. Controlling What Appears on a Graph Screen
- 3. Drawing a Graph
- 4. Saving and Recalling Graph Screen Contents
- 5. Drawing Two Graphs on the Same Screen
- 6. Manual Graphing
- 7. Using Tables
- 8. Modifying a Graph
- 9. Dynamic Graphing
- 10. Graphing a Recursion Formula
- 11. Graphing a Conic Section
- 12. Drawing Dots, Lines, and Text on the Graph Screen (Sketch)
- 13. Function Analysis
- Chapter 6 Statistical Graphs and Calculations
- 1. Before Performing Statistical Calculations
- 2. Calculating and Graphing Single-Variable Statistical Data
- 3. Calculating and Graphing Paired-Variable Statistical Data (Curve Fitting)
- 4. Performing Statistical Calculations
- 5. Tests
- 6. Confidence Interval
- 7. Distribution
- 8. Input and Output Terms of Tests, Confidence Interval, and Distribution
- 9. Statistic Formula
- Chapter 7 Financial Calculation
- Chapter 8 Programming
- Chapter 9 Spreadsheet
- Chapter 10 eActivity
- Chapter 11 Memory Manager
- Chapter 12 System Manager
- Chapter 13 Data Communication
- Chapter 14 Geometry
- Chapter 15 Picture Plot
- Chapter 16 3D Graph Function
- Chapter 17 Python (fx-CG50, fx-CG50 AU only)
- Chapter 18 Distribution (fx-CG50, fx-CG50 AU only)
- Appendix
- Examination Modes
- E-CON4 Application (English)
- 1. E-CON4 Mode Overview
- 2. Sampling Screen
- 3. Auto Sensor Detection (CLAB Only)
- 4. Selecting a Sensor
- 5. Configuring the Sampling Setup
- 6. Performing Auto Sensor Calibration and Zero Adjustment
- 7. Using a Custom Probe
- 8. Using Setup Memory
- 9. Starting a Sampling Operation
- 10. Using Sample Data Memory
- 11. Using the Graph Analysis Tools to Graph Data
- 12. Graph Analysis Tool Graph Screen Operations
- 13. Calling E-CON4 Functions from an eActivity
17-20
set_pixel()
Description: Draws a pixel of the specified color at the specified coordinates.
Syntax: set_pixel(x, y[, color])
•
x argument, y argument
Specifies the x- and y-coordinates of the pixel to be drawn.
Only int type values within the following ranges can be specified:
0 <
x < 383, 0 < y < 191.
The figure below shows the relationship between coordinate values and
locations on the drawing screen.
(0, 0)
(383, 0)
(383, 191)
(0, 191)
• color argument
The color of the pixel to be drawn can be specified as a 256-gradation RGB
value (0, 0, 0 to 255, 255, 255). For details about this argument, see “Draw
Function color Argument” (page 17-22).
Example: To draw a black pixel at coordinates (10, 10) and display the drawing screen
from casioplot import *
set_pixel(10,10,(0,0,0))
show_screen()
Black pixel
Note:
If either the
x- or y-coordinate value is outside of the allowable range, function
execution will be ignored (nothing drawn, no error).