← 수업 제작 도구
홈 › Components › Graph and Graphing Calc › 화면 19

화면 19. Graph.numberList [sink]

원본: Computation Layer 문서(Graph) · Try It (원본 화면)

화면 번호19 / 29
문서 항목 설명 (원문)Sets a variable in the calculator to the contents of a list. This will override any existing definitions of that variable.

1. 화면 캡처 (빨간 번호 = 아래 표의 번호)

화면 19 캡처

화면에 적힌 영어 문구(원문):

2. CL이 입력된 곳

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다.

번호이름종류CL 코드 원문, 번역, 설명
1guessGraph그래프
# Sets a list in the calculator to the first column
# of a table named "guessTable".
▷ 계산기의 배열(List)을 "guessTable" 표의 첫 번째 열로 정한다.

numberList("G_{uessX}"): guessTable.columnNumericValues(1)
▶ 그래프의 숫자배열(numberList) "G_{uessX}"는 표 guessTable의 첫 번째 열의 값들을 숫자배열로 가져온 것(guessTable.columnNumericValues(1))으로 한다.
guessTable.columnNumericValues(1)은 표 guessTable의 첫 번째 열에 있는 모든 칸의 값을 숫자배열로 가져온다. 학생이 표에 추측한 값을 한 줄씩 적을 때마다 그래프의 숫자배열이 갱신된다.