Hello everyone!
So, I want to create Density Plot, using 2D array as a data ( array[150][150]). Is it possible to get that kind of plot like in Mathematica? I was trying to do this on my own by using GraphicsContext in JavaFX and drawing line by line, but it's so buggy.
T1 and T2 are:
Thanks for help.
Btw, ColorFunction(GrayLevel) in this case isn't that important.
@EDIT - Maybe XYBlockRenderer class will do the trick?
Density Plot Chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Density Plot Chart
Yes, XYBlockRenderer would do the job. In the demos you can try XYBlockChartDemo1.java and also CrossSectionDemo1.java.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program