Skip to content

kira1830/2D-scatter-plot-using-JavaFX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

2D-scatter-plot-using-JavaFX

2D scatter plot using JavaFX

A simple Java class for visualizing 2D scatter plots using only JavaFX without using any third-party libraries or components. 

The class allows setting up the labels of the x-axis and y-axis, the title of the scatter plot, the range of the x-axis, and the range of the y-axis. If the user does not set any of these values, defaults are used. After this, making the scatter plot is conveniently calling the method:

plot(double[] x, double[] y, int[] groups)

where x and y are the data points, and groups correspond to the group or cluster of each data point. On the plot, the data points corresponding to the same group are drawn with the same color. Different groups have different colors.

https://kyaw.xyz/2017/12/18/2d-scatter-plot-using-javafx

Copyright (C) 2017 Kyaw Kyaw Htike @ Ali Abdul Ghafur. All rights reserved.

Dr. Kyaw Kyaw Htike @ Ali Abdul Ghafur

https://kyaw.xyz

About

2D scatter plot using JavaFX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages