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

화면 2. Graph.calculatorState [source]

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

화면 번호2 / 29
문서 항목 설명 (원문)Gets the full state of a graph. Pass this, for example, into the graphLayer method.

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

화면 2 캡처

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

2. CL이 입력된 곳

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

번호이름종류CL 코드 원문, 번역, 설명
1레이블 없는 그래프그래프
# This creates a background graph layer by pulling the state of
# the graph from tangentGraph1 (found on screen 1) into this component.
▷ Graph.number [source] 화면에 있는 tangentGraph1의 그래프 상태를 가져와 이 구성요소의 배경 그래프 레이어로 만든다.

background: graphLayer(tangentGraph1.calculatorState)
▶ 그래프의 배경(background)은 tangentGraph1의 그래프 상태로 만든 배경 레이어(graphLayer(tangentGraph1.calculatorState))로 한다.
tangentGraph1.calculatorState는 tangentGraph1 그래프의 전체 상태를 가져오고, graphLayer(…)는 그 상태를 배경 레이어로 바꾼다. 이 그래프의 배경에 tangentGraph1의 그래프가 그대로 깔린다.