当前位置:编程学习 > JAVA >>

关于用JAVA画散点图

Write a program for displaying a scatter diagram for comparing student's marks on one module with their average marks on other modules.
• Each student on the module should be represented by a dot (x,y) in the scatter plot with the x-value indicating the student's overall average mark, and the y-value indicating the student's mark on this particular module
• Calculate and draw a line of "best-fit" and display its equation.
The program should also display core statistical information about the marks ( arithmetic mean, the median, and standard deviation, number of students).
Program interaction with the user should be via console I/O

求救 用JAVA 花散点图,x 表示如果们课的 平均值, y 表示这门课的值。,每门课用一个点表示(x,y) --------------------编程问答-------------------- JFreeChart可以完成楼主的要求,楼主去下载这个包吧。第一问比较简单,难的是第二问,画出拟合曲线。 --------------------编程问答-------------------- 以及方程 --------------------编程问答-------------------- JFreeChart,找这个包吧 --------------------编程问答-------------------- 个人觉得FusionCharts更简单一点、
补充:Java ,  Java SE
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,