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

com.panayotis.gnuplot.style.Style Maven / Gradle / Ivy

Go to download

This JavaPlot library has not been written by me (the author of the PA-Toolbox project). See the given URL for the original JavaPlot project. These files have been extracted from the download JavaPlot-0.5.0.tar.bz2. It is included here just to resolve external dependencies of other PA-Toolbox submodules.

The newest version!
/* Copyright (c) 2007-2014 by panayotis.com
 *
 * JavaPlot is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, version 2.
 *
 * JavaPlot is free in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with CrossMobile; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * Created on 26 Οκτώβριος 2007, 3:15 μμ
 */

package com.panayotis.gnuplot.style;

/**
 * Possible styles to use in gnuplot
 *
 * @author teras
 */
public enum Style {

    LINES(2, false),
    POINTS(2, false),
    LINESPOINTS(2, false),
    IMPULSES(2, false),
    DOTS(2, false),
    STEPS(2, false),
    FSTEPS(2, false),
    HISTEPS(2, false),
    ERRORBARS(2, false),
    LABELS(2, false),
    XERRORBARS(2, false),
    YERRORBARS(2, false),
    XYERRORBARS(2, false),
    ERRORLINES(2, false),
    XERRORLINES(2, false),
    YERRORLINES(2, false),
    XYERRORLINES(2, false),
    BOXES(2, true),
    HISTOGRAMS(2, false),
    FILLEDCURVES(2, false),
    BOXERRORBARS(2, false),
    BOXXYERRORBARS(2, true),
    FINANCEBARS(2, false),
    CANDLESTICKS(2, true),
    VECTORS(2, false),
    IMAGE(2, false),
    RGBIMAGE(2, false),
    PM3D(2, false);
    final int columns;   // number of desired columns
    final boolean filled; // could be filled

    /**
     * Create a new Style enumeration
     *
     * @param columns how many dimensions is required
     * @param filled whether can be filled or not
     */
    Style(int columns, boolean filled) {
        this.columns = columns;
        this.filled = filled;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy