双数轴与坐标图

双数轴与坐标图
几何画板及绘图内容加载中,请稍等……
2017-02-08 23:00
本范例演示双数轴与坐标图之间的联系。通过输入比例值并拖动蓝色点,可以直观观察双数轴的变化如何映射到坐标图上。涉及的核心数学概念包括坐标几何、函数图像和线性函数。作图要点使用了GeoGebra的命令如Point、Segment、LineYRt、Slider等,以及对象如quantity1、quantity2、q1slideValue、q2slideValue等,适合初中及以上学段学习函数与坐标几何。

GeoGebra 命令及参数

  1. If(quantity1 ≤ 0.2, 1000, 100) → roundingFactorDNL1values
  2. If(quantity2 ≤ 0.2, 1000, 100) → roundingFactorDNL2values
  3. Point(Ellipse[(3, gapDNL), (-3, gapDNL), (0, length)]) → LineYRt
  4. Point(Segment[(0, If[y(LineYRt) > gapDNL, -1.15, (0.5 * gapDNL)]), (length - 0.5, If[y(LineYRt) > gapDNL, -1, (0.5 * gapDNL)])]) → SlidePt
  5. If(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)]]) → LineYPts
  6. Sequence((k, 0), k, 0, length, interval) → LineXPts
  7. Sequence((x(Element[LineXPts, k]), y(Element[LineYPts, k])), k, 1, length + 1) → GridPts
  8. Sequence(Segment[Element[LineYPts, k], Element[GridPts, k]], k, 1, length + 1) → gridConnectHoriz
  9. Sequence(Segment[Element[LineXPts, k], Element[GridPts, k]], k, 1, length + 1) → gridConnectVert
  10. Angle(DNLyRefRt, (0, gapDNL), LineYRt) → α
  11. Sequence(Rotate[Segment[Element[LineYPts, k] + (0, hashLength), Element[LineYPts, k] + (0, (-hashLength))], α, Element[LineYPts, k]], k, 1, length + 1) → lineYhash
  12. Vector(LineYZero, Rotate[LineYRt + (interval, 0), α, LineYRt]) → rayYRef
  13. Point(Ray[LineYZero, LineYRt]) → RayYEndPt
  14. Vector(LineYZero, RayYEndPt) → rayY
  15. Vector((0, 0), (length + Distance[LineYRt, RayYEndPt], 0)) → rayX
  16. Sequence(Segment[Element[LineXPts, k] + (0, (-hashLength)), Element[LineXPts, k] + (0, hashLength)], k, 1, length + 1) → lineXhash
  17. Sequence((k, 0), k, 0, length + 0.4, interval / hashMinor) → LineXPtsMinor
  18. If(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)))]]) → LineYPtsMinor
  19. Textfield(q1labelForLengthAlwaysShow) → q1bLabelInput
  20. Textfield(quantity1) → q1aValueInput
  21. Textfield(quantity2) → q2aValueInput
  22. Textfield(q2labelForLengthAlwaysShow) → q2bLabelInput
  23. Text("0", Element[LineYPts, 1] + (-0.1 - (0.6 * (length - x(LineYRt)) / length), 0.3 - (0.4 * (length - x(LineYRt)) / length))) → zeroDNL1
  24. Segment(If[y(LineYRt) > gapDNL, (x(SlidePt), functRatio(x(SlidePt))), SlidePt + (0, 1.4)], SlidePt - (0, 1.4 - (0.3 - y(SlidePt)))) → slideSegVert
  25. Sequence(Segment[(0, j), (length + 0.5, j)], j, 1, length, interval) → gridLinesHoriz
  26. Sequence(Segment[(k, 0), (k, length + 0.5)], k, 1, length, interval) → gridLinesVert
  27. Segment((functYx(y(GridSlidePt)) - If[x(LineYRt) ≟ 0, 2, 0], y(GridSlidePt)), GridSlidePt) → slideSegHoriz
  28. Polygon((-20, 1.5), (-4, 1.5), (-4, 100), (-20, 100)) → yellowBackgroundTable, f, g, h, i
  29. Sequence(Segment[Element[LineXPtsMinor, k] + (0, ((-hashLength)) / 2), Element[LineXPtsMinor, k] + (0, hashLength / 2)], k, 0, ((length + 0.4) * hashMinor)) → lineXhashMinor
  30. Sequence(Rotate[Segment[Element[LineYPtsMinor, k] + (0, hashLength / 2), Element[LineYPtsMinor, k] + (0, ((-hashLength)) / 2)], α, Element[LineYPtsMinor, k]], k, 0, ((length + 0.4) * hashMinor)) → lineYhashMinor
  31. If(quantity2times4TextWidth > quantity1times4TextWidth, quantity2, quantity1) → quantityTableDNLmax
  32. Textfield(locationXq1) → locationXq1Input
  33. Textfield(locationXq2) → locationXq2Input
  34. Polygon(Corner[q1label, 1] + (0, 0.15), Corner[q1label, 2] + (0, 0.15), Corner[q1label, 3], Corner[q1label, 4]) → label2YellowBackGraph, j, k, l, m
  35. Sequence(Segment[(k, 0), (k, length + 0.3)], k, 0, length + 0.3, interval / hashMinor) → gridLinesVertMinor
  36. Sequence(Segment[(0, j), (length + 0.3, j)], j, 0, length + 0.3, interval / hashMinor) → gridLinesHorizMinor
  37. Sequence(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]) → LineXhashValues
  38. Sequence(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]) → LineYhashValues
  39. RotateText(If[switchCk, q1labelForLengthAlwaysShow, q2labelForLengthAlwaysShow], α) → q2labelRotate
  40. Sequence(Text["(" + ((k * quantity1temp)) + ", " + ((k * quantity2temp)) + ")", Element[GridPts, k + 1] + (0.1, -0.2)], k, 1, length - 1, interval) → coordsText

AI 绘图提示语参考

画一个双数轴与坐标图的连接图。首先画出一个双数轴,然后根据双数轴上的点,画出对应的坐标图。设置两个滑动条表示双数轴上的值,通过拖动滑动条上的点,观察其在坐标图上的映射。在双数轴上添加刻度和标签,同时在坐标图上也添加相应的刻度和标签,确保两者之间的对应关系清晰可见。
以上提示语为根据原始绘图命令整理而来,仅供参考。