箱线图绘制练习

箱线图绘制练习
几何画板及绘图内容加载中,请稍等……
2014-06-11 19:34
①本范例演示如何动态构建箱线图,用于数据可视化教学;②涉及核心数学概念包括中位数、四分位数、数据分布、统计图表绘制;③通过构造摘要中提到的 Point, Random, Sequence, Sort, BoxPlot 等命令和对象实现数据生成与图形绘制;④适合高中统计与概率课程,用于学生实践和加深对箱线图特征的理解。

GeoGebra 命令及参数

  1. Point(L) → H'
  2. Point(L) → G'
  3. Point(L) → F'
  4. Point(L) → E'
  5. Point(L) → D'
  6. Random(NumberMin, NumberMax) → n
  7. Vector(A, A + (0, 1)) → u_1
  8. Vector(B, B + (0, 1)) → u_2
  9. Vector(C, C + (0, 1)) → u_3
  10. Sequence(Random[DataMin, DataMax], i, 1, n) → list1
  11. Sort(list1) → list2
  12. TableText({list2}, "c|_") → text1
  13. TableText({list1}, "c|_") → text2
  14. Q1(list2) → Q_1
  15. Q3(list2) → Q_3
  16. Median(list2) → Q_2
  17. Textfield(input1) → inputBox1
  18. Textfield(input2) → inputBox2
  19. Textfield(input3) → inputBox3
  20. DynamicCoordinates(D', round(2 * x(D')) / 2, round(2 * y(D')) / 2) → D
  21. DynamicCoordinates(E', round(2 * x(E')) / 2, round(2 * y(E')) / 2) → E
  22. DynamicCoordinates(F', round(2 * x(F')) / 2, round(2 * y(F')) / 2) → F
  23. DynamicCoordinates(G', round(2 * x(G')) / 2, round(2 * y(G')) / 2) → G
  24. DynamicCoordinates(H', round(2 * x(H')) / 2, round(2 * y(H')) / 2) → H
  25. Segment(D, E) → sh1
  26. Segment(G, H) → sh2
  27. Polygon(E + (0, 1), E - (0, 1), G - (0, 1), G + (0, 1)) → boxplot2, a, b, c, d
  28. Segment(D - (0, 1), D + (0, 1)) → s1
  29. Segment(F - (0, 1), F + (0, 1)) → s3
  30. Segment(H - (0, 1), H + (0, 1)) → s5
  31. BoxPlot(4, 0.5, list2) → boxplot
  32. If(Chinese, "←正確", "←Correcto") → text5
  33. If(Chinese, "←不正確", "←Incorrecto") → text7
  34. If(Chinese, "數據:", "Datos:") → text3
  35. If(Chinese, "←不正確", "←Incorrecto") → text8
  36. If(Chinese, "←正確", "←Correcto") → text4
  37. If(Chinese, "←正確", "←Correcto") → text6
  38. If(Chinese, "←不正確", "←Incorrecto") → text9
  39. If(Chinese, "框線圖正確!", "Correcto!") → text10
  40. If(Chinese, "部分出錯 ...", "Hay un error...") → text11

AI 绘图提示语参考

绘制一个动态的箱线图教学示例,展示数据分布、中位数、四分位数等统计概念。首先生成一组随机数据点,排序后确定最小值、最大值、下四分位数、上四分位数和中位数。接着,根据这些数据绘制箱线图,包括箱体、须线和异常值。最后,添加文本标签显示数据点和箱线图的特征,并包含动态坐标转换和条件文本提示。
以上提示语为根据原始绘图命令整理而来,仅供参考。