Building a locus in XY space using JFreeChart

I would like to build a locus of a particle in two-dimensional space.

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

Any pointers to examples showing how to do this would be needed.

An example of a locus plot can be seen below: enter image description here

Note. I would like to show the path as a continuous line with arrows showing the direction of movement.

Thank.

+1
source share
1 answer

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

image

FastScatterPlotcited here and illustrated here may be required for larger datasets.

: , . org.jfree.chart.annotations, XYShapeAnnotation, GeneralPath. ArcTest . . PointyThing.

image

+1

All Articles