双数轴与坐标图
几何画板及绘图内容加载中,请稍等……
本范例演示双数轴与坐标图之间的联系。通过输入比例值并拖动蓝色点,可以直观观察双数轴的变化如何映射到坐标图上。涉及的核心数学概念包括坐标几何、函数图像和线性函数。作图要点使用了GeoGebra的命令如Point、Segment、LineYRt、Slider等,以及对象如quantity1、quantity2、q1slideValue、q2slideValue等,适合初中及以上学段学习函数与坐标几何。
GeoGebra 命令及参数
If(quantity1 ≤ 0.2, 1000, 100) → roundingFactorDNL1valuesIf(quantity2 ≤ 0.2, 1000, 100) → roundingFactorDNL2valuesPoint(Ellipse[(3, gapDNL), (-3, gapDNL), (0, length)]) → LineYRtPoint(Segment[(0, If[y(LineYRt) > gapDNL, -1.15, (0.5 * gapDNL)]), (length - 0.5, If[y(LineYRt) > gapDNL, -1, (0.5 * gapDNL)])]) → SlidePtIf(x(LineYRt) < 0.1, Sequence[(0, j), j, 0, length, interval], Sequence[(k, functY(k)), k, 0, x(LineYRt), If[x(LineYRt) < 0.1, 0.1, (interval * x(LineYRt) / length)]]) → LineYPtsSequence((k, 0), k, 0, length, interval) → LineXPtsSequence((x(Element[LineXPts, k]), y(Element[LineYPts, k])), k, 1, length + 1) → GridPtsSequence(Segment[Element[LineYPts, k], Element[GridPts, k]], k, 1, length + 1) → gridConnectHorizSequence(Segment[Element[LineXPts, k], Element[GridPts, k]], k, 1, length + 1) → gridConnectVertAngle(DNLyRefRt, (0, gapDNL), LineYRt) → αSequence(Rotate[Segment[Element[LineYPts, k] + (0, hashLength), Element[LineYPts, k] + (0, (-hashLength))], α, Element[LineYPts, k]], k, 1, length + 1) → lineYhashVector(LineYZero, Rotate[LineYRt + (interval, 0), α, LineYRt]) → rayYRefPoint(Ray[LineYZero, LineYRt]) → RayYEndPtVector(LineYZero, RayYEndPt) → rayYVector((0, 0), (length + Distance[LineYRt, RayYEndPt], 0)) → rayXSequence(Segment[Element[LineXPts, k] + (0, (-hashLength)), Element[LineXPts, k] + (0, hashLength)], k, 1, length + 1) → lineXhashSequence((k, 0), k, 0, length + 0.4, interval / hashMinor) → LineXPtsMinorIf(x(LineYRt) < 0.1, Sequence[(0, j), j, 0, length + 0.4, interval / hashMinor], Sequence[(k, functY(k)), k, 0, x(LineYRt) + 0.4, If[x(LineYRt) < 0.1, 0.1, (interval * x(LineYRt) / ((length * hashMinor)))]]) → LineYPtsMinorTextfield(q1labelForLengthAlwaysShow) → q1bLabelInputTextfield(quantity1) → q1aValueInputTextfield(quantity2) → q2aValueInputTextfield(q2labelForLengthAlwaysShow) → q2bLabelInputText("0", Element[LineYPts, 1] + (-0.1 - (0.6 * (length - x(LineYRt)) / length), 0.3 - (0.4 * (length - x(LineYRt)) / length))) → zeroDNL1Segment(If[y(LineYRt) > gapDNL, (x(SlidePt), functRatio(x(SlidePt))), SlidePt + (0, 1.4)], SlidePt - (0, 1.4 - (0.3 - y(SlidePt)))) → slideSegVertSequence(Segment[(0, j), (length + 0.5, j)], j, 1, length, interval) → gridLinesHorizSequence(Segment[(k, 0), (k, length + 0.5)], k, 1, length, interval) → gridLinesVertSegment((functYx(y(GridSlidePt)) - If[x(LineYRt) ≟ 0, 2, 0], y(GridSlidePt)), GridSlidePt) → slideSegHorizPolygon((-20, 1.5), (-4, 1.5), (-4, 100), (-20, 100)) → yellowBackgroundTable, f, g, h, iSequence(Segment[Element[LineXPtsMinor, k] + (0, ((-hashLength)) / 2), Element[LineXPtsMinor, k] + (0, hashLength / 2)], k, 0, ((length + 0.4) * hashMinor)) → lineXhashMinorSequence(Rotate[Segment[Element[LineYPtsMinor, k] + (0, hashLength / 2), Element[LineYPtsMinor, k] + (0, ((-hashLength)) / 2)], α, Element[LineYPtsMinor, k]], k, 0, ((length + 0.4) * hashMinor)) → lineYhashMinorIf(quantity2times4TextWidth > quantity1times4TextWidth, quantity2, quantity1) → quantityTableDNLmaxTextfield(locationXq1) → locationXq1InputTextfield(locationXq2) → locationXq2InputPolygon(Corner[q1label, 1] + (0, 0.15), Corner[q1label, 2] + (0, 0.15), Corner[q1label, 3], Corner[q1label, 4]) → label2YellowBackGraph, j, k, l, mSequence(Segment[(k, 0), (k, length + 0.3)], k, 0, length + 0.3, interval / hashMinor) → gridLinesVertMinorSequence(Segment[(0, j), (length + 0.3, j)], j, 0, length + 0.3, interval / hashMinor) → gridLinesHorizMinorSequence(Text["" + ((k * quantity1temp)), Element[LineXPts, k + 1] + ((-If[(k * quantity1temp) < 10, 0.1, If[(k * quantity1temp) < 100, 0.2, 0.34]]) - If[(k * quantity1temp) > floor((k * quantity1temp)), 0.2, 0], -0.5)], k, 1, If[¬showValuesDNL1bCk, 1, length - interval]) → LineXhashValuesSequence(Text["" + ((k * quantity2temp)), Element[LineYPts, k + 1] + (-0.1 - If[(k * quantity2temp) > floor((k * quantity2temp)), 0.2, 0] - (If[(k * quantity2temp) < 10, 0.1, If[(k * quantity2temp) < 100, 0.6, 1.2]] * (length - x(LineYRt) + If[(k * quantity2temp) < 10, 1 + (0.26 * α / °), If[(k * quantity2temp) < 100, 1 + (0.0099 * α / °), If[(k * quantity2temp) < 999.9, 1 - (0.0175 * α / °), If[(k * quantity2temp) > 999.9, 1 - (0.007 * α / °), 0]]]]) / length), 0.3 - (0.4 * (length - x(LineYRt)) / length))], k, 1, If[¬showValuesDNL2CkA, 1, length - interval]) → LineYhashValuesRotateText(If[switchCk, q1labelForLengthAlwaysShow, q2labelForLengthAlwaysShow], α) → q2labelRotateSequence(Text["(" + ((k * quantity1temp)) + ", " + ((k * quantity2temp)) + ")", Element[GridPts, k + 1] + (0.1, -0.2)], k, 1, length - 1, interval) → coordsText
AI 绘图提示语参考
画一个双数轴与坐标图的连接图。首先画出一个双数轴,然后根据双数轴上的点,画出对应的坐标图。设置两个滑动条表示双数轴上的值,通过拖动滑动条上的点,观察其在坐标图上的映射。在双数轴上添加刻度和标签,同时在坐标图上也添加相应的刻度和标签,确保两者之间的对应关系清晰可见。
以上提示语为根据原始绘图命令整理而来,仅供参考。