
119Rich GUI Using Java Swing
3.5 Using Third-Party Libraries in MATLAB
3.5.1 JFreeChart and Other Charting Libraries
93
An extremely powerful and widely used Swing-based class library is JFreeChart (www.
jfree.org), which includes classes for displaying charts, graphs, and gauges in Java panels.
JFreeChart solves MATLAB’s limitation that plot axes cannot be added to Java containers.
JFreeChart is free open-source
94
under the GNU LGPL license. Used by over 40,000 Java
developers worldwide
95
(as well as by some MATLAB developers
96
), it is in constant devel-
opment and improvement.
†
JFreeChart has some limitations compared with MATLAB plots, ...