All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.plots.Plot Maven / Gradle / Ivy

Go to download

finmath lib plot extensions provide convenient plotting methods by providing consistent wrappers to plot libraries (like JFreeChart or JavaFX).

The newest version!
/*
 * (c) Copyright Christian P. Fries, Germany. All rights reserved. Contact: [email protected].
 *
 * Created on 24 May 2018
 */

package net.finmath.plots;

import java.io.File;
import java.io.IOException;

/**
 * @author Christian Fries
 */
public interface Plot {

	void show() throws Exception;

	void close() throws Exception;

	Plot saveAsJPG(File file, int width, int height) throws IOException;

	Plot saveAsPDF(File file, int width, int height) throws IOException;

	Plot saveAsSVG(File file, int width, int height) throws IOException;

	Plot setTitle(String title);

	Plot setXAxisLabel(String xAxisLabel);

	Plot setYAxisLabel(String yAxisLabel);

	Plot setZAxisLabel(String zAxisLabel);

	Plot setIsLegendVisible(Boolean isLegendVisible);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy