Documentation API of the 'jyplot.Jyplot' Java class

Class Jyplot

  • All Implemented Interfaces:

    public class Jyplotextends JyplotVanillaimplements Serializable
    This is a wrapper for the jfreechart library that provides Matlab (actually matplotlib/pylab) syntax. It is designed to be used via Jython, but also simplifies creating charts in Java also.

    Basic usage (in Jython):

     j = Jylab() j.plot([1,2,3,2]) j.title("Some random plot") j.savefig(file='/tmp/someplot.png', 300, 200) 

    Jylab can create png,jpg,eps,svg, and pdf images directly. All except png and jpg require third party libraries.

    Technical overview:

    Each time a plot type command is called, a new dataset is created. There are rarely multiple series in a single dataset. A renderer is associated with each dataset, thus individual plots can be easily customised.

    Currently all plots use an XYPlot and compatible datasets (XYDataset). Category plots are currently not used, but might be in the future, if needed.

    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.