本文介绍了绘制在Java中高斯曲线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编码一个互动的小程序,我需要包括里面高斯曲线(又名)。

I'm coding an interactive applet with Piccolo and I need to include a Gaussian curve (aka Normal distribution chart) inside it.

我想任何Java实现的就足够了,但我找不到任何。理想情况下,我想通过一组值,并有在面板,图像对象或任何可以被嵌入在一个applet绘制的图表。

I imagine any kind of Java implementation would be enough, but I can't find any. Ideally, I'd like to pass a set of values and have the chart drawn in a panel, an image object or anything that can be embedded in an applet.

让我的手脏的编码它自己之前,没有任何人知道code的工作一块办呢?

Before getting my hands dirty coding it myself, does anybody know of a working piece of code to do it?

在其他语言的实现受到欢迎,只要他们很容易移植到Java的。

Implementations in other languages are welcomed, as long as they are easily portable to Java.

推荐答案

不知道它的工作原理,但谷歌扔了<一个href=\"http://vase.essex.ac.uk/software/JavaPlot/$c$c/ac/essex/graphing/charts/continuous/Gaussian.java.html\"相对=nofollow>这code绘制高斯分布。

Don't know if it works, but Google threw up this code to plot a Gaussian distribution.

此项目的主页是。

如果短笛不会为您执行绘图,我或许会使用实际绘图,因为它的广泛支持和非常能干。 (我不熟悉的短笛)

If Piccolo doesn't perform the plotting for you, I would perhaps use JFreeChart for the actual plotting, since it's widely supported and very capable. (I'm not familiar with Piccolo)

这篇关于绘制在Java中高斯曲线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 12:49