Plotting area graphs
Area graphs are useful tools to display how quantitative values develop over a given interval. For data scientists, they are an effective means of understanding trends. They are based on line graphs, but the area beneath the line drawn based on the values in the axes is filled with a certain color or texture. In this recipe, you will be using the GRAL Java library to plot area graphs.
Getting ready
- To use GRAL to plot bar charts, we need the example applications provided with the library in the form of Jar files. These example applications can be downloaded from http://trac.erichseifert.de/gral/wiki/Download. Download the
gral-examples-0.10.zip
file from the download location into your local disk. Extract the files. - Then you ...
Get Java Data Science Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.