创建散点图 by Ingrid
几何画板及绘图内容加载中,请稍等……
①本范例演示如何使用 GeoGebra 创建散点图;②涉及的核心数学概念包括数据可视化、坐标几何和概率统计;③作图要点:使用了 Flatten, Point, Element, UnicodeToLetter, Zip, LaTeX, Vector, Sequence, Polygon, TableText, Join, SelectedElement, RotateText 等命令和对象;④适合高中及以上学生学习和教师教学使用。
GeoGebra 命令及参数
Flatten(Sequence[Sequence[(i, j), i, 0, 10, 1], j, 0, 8, 1]) → gridSpacePoint(Union[gridSpace, {homeBase}]) → EPoint(Union[gridSpace, {homeBase}]) → DPoint(Union[gridSpace, {homeBase}]) → CPoint(Union[gridSpace, {homeBase}]) → BElement(questionList, questionListIndex) → questionNumElement(H2:H6, questionNum) → yIncPoint(Union[gridSpace, {homeBase}]) → FElement(G2:G6, questionNum) → xIncElement(F2:F6, questionNum) → yValsElement(E2:E6, questionNum) → xValsElement(D2:D6, questionNum) → depVarWordsElement(C2:C6, questionNum) → indepVarWordsUnicodeToLetter(10007) → xmarkUnicodeToLetter(10003) → cmarkPoint(Union[gridSpace, {homeBase}]) → AZip((A / xInc, B / yInc), A, xVals, B, yVals) → correctPointsLaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXTElement(B2:B6, questionNum) → dependentVariableElement(A2:A6, questionNum) → independentVariableVector((0, 0), (0, 9)) → yAxisLineVector((0, 0), (11, 0)) → xAxisLineSequence(Segment[(-0.2, i), (0.2, i)], i, 1, 8) → yTicksSequence(Segment[(i, -0.2), (i, 0.2)], i, 1, 10) → xTicksSequence(i, i, xInc, (10 * xInc), xInc) → xTickLabelsSequence(i, i, yInc, (10 * yInc), yInc) → yTickLabelsSequence(Text[Element[xTickLabels, i], (i - 0.2, -0.7)], i, 1, 10) → xAxisTickLabelsSequence(Text[Element[yTickLabels, i], (-1, i - 0.2)], i, 1, 8) → yAxisTickLabelsPolygon({(0, 0), (0, 9), (11, 9), (11, 0)}) → viewBoxTableText({Join[{{(("\cellcolor{#ffcc80}{" * independentVariable) * "}")}, xVals}], Join[{{(("\cellcolor{#ffcc80}{" * dependentVariable) * "}")}, yVals}]}, "|_vc") → dataZip(Circle[A, 0.3], A, correctPoints) → correctCirclesLaTeX("\text{Points to Plot:}") → pointsLabelJoin({{LaTeX["\text{Choose a label}"]}, Shuffle[{dependentVariable, independentVariable}]}) → axesLabelsSelectedElement(axesLabels) → selectedLabelRotateText(If[selectedLabel ≟ independentVariable, dependentVariable, If[selectedLabel ≟ dependentVariable, independentVariable, ""]], 90°) → otherLabelLaTeX((((((("\text{Since the " * indepVarWords) * " may cause\\the ") * depVarWords) * "\\to change, ") * indepVarWords) * " is the\\independent variable which is\\placed on the horizontal axis.}")) → feedbackLabels
AI 绘图提示语参考
创建一个散点图,包含一个网格空间和多个点。网格空间由从0到10的x坐标和从0到8的y坐标生成。点根据给定的x值和y值绘制在网格上。还需要绘制坐标轴线、刻度线和标签。坐标轴线从原点延伸到(11,0)和(0,9)。刻度线包括x轴从1到10的刻度和y轴从1到8的刻度。标签包括x轴刻度标签和y轴刻度标签。图形中还包含一个数据表格,展示x值和y值的关系。整体布局类似于一个坐标系,用于展示数据点在网格上的位置。
以上提示语为根据原始绘图命令整理而来,仅供参考。