Plotting a locus in XY space using JFreeChart

前端 未结 1 1038
-上瘾入骨i
-上瘾入骨i 2021-01-23 15:11

I would like to plot the locus of a particle in two dimensional space.

My data is a sequence of X,Y coordinates and I would like to plot these.

Would appreciate

相关标签:
1条回答
  • 2021-01-23 16:13

    ChartFactory.createScatterPlot(), illustrated here, might be a good starting point.

    image

    FastScatterPlot, cited here and illustrated here, may be required for larger datasets.

    Addendum: Looking at your revised question, I've not seen a renderer like that. You might look at a org.jfree.chart.annotations such as XYShapeAnnotation using a GeneralPath. These ArcTest variations may offer guidance. See also PointyThing.

    image

    0 讨论(0)
提交回复
热议问题