Fix in JFreeChart and general plotting
This commit is contained in:
parent
753555e13e
commit
500037fd42
@ -77,7 +77,7 @@ object TimeAnalyzerAction : OneToOneAction<NumassPoint, Table>() {
|
|||||||
cr / 1e6 * initialEstimate.getInt(NumassAnalyzer.COUNT_KEY) * binSize * Math.exp(-it * cr / 1e6)
|
cr / 1e6 * initialEstimate.getInt(NumassAnalyzer.COUNT_KEY) * binSize * Math.exp(-it * cr / 1e6)
|
||||||
}
|
}
|
||||||
|
|
||||||
context.plot(listOf(histogramPlot, functionPlot), "histogram", name) {
|
context.plot(listOf(histogramPlot, functionPlot), stage = this.name, name = "histogram") {
|
||||||
"xAxis" to {
|
"xAxis" to {
|
||||||
"title" to "delay"
|
"title" to "delay"
|
||||||
"units" to "us"
|
"units" to "us"
|
||||||
@ -98,7 +98,7 @@ object TimeAnalyzerAction : OneToOneAction<NumassPoint, Table>() {
|
|||||||
configure(inputMeta.getMetaOrEmpty("plot"))
|
configure(inputMeta.getMetaOrEmpty("plot"))
|
||||||
}
|
}
|
||||||
|
|
||||||
context.plot(statPlot, "stat-method", name) {
|
context.plot(statPlot, stage = this.name, name = "stat-method") {
|
||||||
"xAxis" to {
|
"xAxis" to {
|
||||||
"title" to "delay"
|
"title" to "delay"
|
||||||
"units" to "us"
|
"units" to "us"
|
||||||
|
@ -69,4 +69,6 @@ fun main(args: Array<String>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TimeAnalyzerAction.simpleRun(point, meta);
|
TimeAnalyzerAction.simpleRun(point, meta);
|
||||||
|
|
||||||
|
readLine()
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user