首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 简单统计算法的规范

简单统计算法的规范

  • 资源大小:14.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 算法 简单 统计 规范

资 源 简 介

About simple-stats-api This library provides very simple, very light weight statistical algorithms and visualization tools that can be used in Java. Many statistical visualization programs available in the open-source community tend to be complex in generating plots. This project is aimed to provide the simplest histogram plot with the possibility to provide saving as image to the hard drive. How to create Histograms the library can be used this way: Plot plot = new Histogram(Arrays.asList(1,2,1,2,1,3,4,1,5,6), "test histogram"); to save the histogram as an image: plot.toPNG("path_to_png_file"); //dump the image to the hard disk or just show it in a JComponent using g.draw( image ) or better and easier, use a JLabel and pass the histogram as an image icon argument like this: JLabel histLabel = new JLabel( plot.getImageIcon() ); How to creat

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP