Plotting a hysteresis loop with jFreeChart

前端 未结 1 1585
[愿得一人]
[愿得一人] 2021-01-24 07:01

I need to draw hysteresis loops and then calculate the area closed within the loop. I am using jFreeChart.

consider the following data:

 hyst[0]=0;
              


        
相关标签:
1条回答
  • 2021-01-24 07:32

    How can I change the line color as well the symbols representing the data points. I want all of them to be uniform.

    It appears you've settled on JFreeChart for your view. Synthesizing a few other comments,

    • You can make the colors and shapes of your several series homogeneous by providing a DrawingSupplier, as suggested here and shown here.

    • You can combine the series into a GeneralPath and estimate the area as outlined here.

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