亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? samplexydataset2.java

?? Web圖形化的Java庫
?? JAVA
字號:
/* ======================================
 * JFreeChart : a free Java chart library
 * ======================================
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 * Project Lead:  David Gilbert (david.gilbert@object-refinery.com);
 *
 * (C) Copyright 2000-2003, Object Refinery Limited and Contributors.
 *
 * This library 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;
 * either version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed 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 this
 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * ---------------------
 * SampleXYDataset2.java
 * ---------------------
 * (C) Copyright 2000-2003, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: SampleXYDataset2.java,v 1.2 2003/05/29 15:23:34 mungady Exp $
 *
 * Changes
 * -------
 * 22-Oct-2001 : Version 1 (DG);
 *               Renamed DataSource.java --> Dataset.java etc. (DG);
 * 07-Nov-2001 : Updated source header (DG);
 * 11-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 29-Oct-2002 : Modified so that you can specify dataset parameters in the constructor (DG);
 *
 */

package org.jfree.chart.demo;

import org.jfree.data.AbstractSeriesDataset;
import org.jfree.data.DomainInfo;
import org.jfree.data.Range;
import org.jfree.data.RangeInfo;
import org.jfree.data.XYDataset;

/**
 * Random data for a scatter plot demo.
 * <P>
 * Note that the aim of this class is to create a self-contained data source for demo purposes -
 * it is NOT intended to show how you should go about writing your own datasets.
 *
 * @author David Gilbert
 */
public class SampleXYDataset2 extends AbstractSeriesDataset implements XYDataset,
                                                                       DomainInfo, RangeInfo {

    /** The series count. */
    private static final int DEFAULT_SERIES_COUNT = 4;

    /** The item count. */
    private static final int DEFAULT_ITEM_COUNT = 100;

    /** The range. */
    private static final double DEFAULT_RANGE = 200;

    /** The x values. */
    private Double[][] xValues;

    /** The y values. */
    private Double[][] yValues;

    /** The number of series. */
    private int seriesCount;

    /** The number of items. */
    private int itemCount;

    /** The minimum domain value. */
    private Number domainMin;

    /** The maximum domain value. */
    private Number domainMax;

    /** The minimum range value. */
    private Number rangeMin;

    /** The maximum range value. */
    private Number rangeMax;

    /** The range of the domain. */
    private Range domainRange;

    /** The range. */
    private Range range;

    /**
     * Creates a sample dataset using default settings (4 series, 100 data items per series,
     * random data in the range 0 - 200).
     */
    public SampleXYDataset2() {
        this(DEFAULT_SERIES_COUNT, DEFAULT_ITEM_COUNT);
    }

    /**
     * Creates a sample dataset.
     *
     * @param seriesCount  the number of series.
     * @param itemCount  the number of items.
     */
    public SampleXYDataset2(int seriesCount, int itemCount) {

        this.xValues = new Double[seriesCount][itemCount];
        this.yValues = new Double[seriesCount][itemCount];
        this.seriesCount = seriesCount;
        this.itemCount = itemCount;

        double minX = Double.POSITIVE_INFINITY;
        double maxX = Double.NEGATIVE_INFINITY;
        double minY = Double.POSITIVE_INFINITY;
        double maxY = Double.NEGATIVE_INFINITY;

        for (int series = 0; series < seriesCount; series++) {
            for (int item = 0; item < itemCount; item++) {

                double x = (Math.random() - 0.5) * DEFAULT_RANGE;
                xValues[series][item] = new Double(x);
                if (x < minX) {
                    minX = x;
                }
                if (x > maxX) {
                    maxX = x;
                }

                double y = (Math.random() + 0.5) * 6 * x + x;
                yValues[series][item] = new Double(y);
                if (y < minY) {
                    minY = y;
                }
                if (y > maxY) {
                    maxY = y;
                }

            }
        }

        this.domainMin = new Double(minX);
        this.domainMax = new Double(maxX);
        this.domainRange = new Range(minX, maxX);

        this.rangeMin = new Double(minY);
        this.rangeMax = new Double(maxY);
        this.range = new Range(minY, maxY);

    }

    /**
     * Returns the x-value for the specified series and item.  Series are numbered 0, 1, ...
     *
     * @param series  the index (zero-based) of the series.
     * @param item  the index (zero-based) of the required item.
     *
     * @return the x-value for the specified series and item.
     */
    public Number getXValue(int series, int item) {
        return xValues[series][item];
    }

    /**
     * Returns the y-value for the specified series and item.  Series are numbered 0, 1, ...
     *
     * @param series  the index (zero-based) of the series.
     * @param item  the index (zero-based) of the required item.
     *
     * @return  the y-value for the specified series and item.
     */
    public Number getYValue(int series, int item) {
        return yValues[series][item];
    }

    /**
     * Returns the number of series in the dataset.
     *
     * @return the series count.
     */
    public int getSeriesCount() {
        return this.seriesCount;
    }

    /**
     * Returns the name of the series.
     *
     * @param series  the index (zero-based) of the series.
     *
     * @return the name of the series.
     */
    public String getSeriesName(int series) {
        return "Sample " + series;
    }

    /**
     * Returns the number of items in the specified series.
     *
     * @param series  the index (zero-based) of the series.
     *
     * @return the number of items in the specified series.
     */
    public int getItemCount(int series) {
        return this.itemCount;
    }

    /**
     * Returns the minimum domain value.
     *
     * @return the minimum domain value.
     */
    public Number getMinimumDomainValue() {
        return this.domainMin;
    }

    /**
     * Returns the maximum domain value.
     *
     * @return the maximum domain value.
     */
    public Number getMaximumDomainValue() {
        return this.domainMax;
    }

    /**
     * Returns the range of values in the domain.
     *
     * @return the range.
     */
    public Range getDomainRange() {
        return this.domainRange;
    }

    /**
     * Returns the minimum range value.
     *
     * @return the minimum range value.
     */
    public Number getMinimumRangeValue() {
        return this.rangeMin;
    }

    /**
     * Returns the maximum range value.
     *
     * @return the maximum range value.
     */
    public Number getMaximumRangeValue() {
        return this.rangeMax;
    }

    /**
     * Returns the range of values in the range (y-values).
     *
     * @return the range.
     */
    public Range getValueRange() {
        return this.range;
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合成人精品亚洲另类欧美 | 一区二区三区欧美激情| 亚洲二区在线观看| 国产精品1024久久| 亚洲国产精品99久久久久久久久| 亚洲欧美一区二区三区久本道91| 精品亚洲国产成人av制服丝袜| 91麻豆6部合集magnet| 久久视频一区二区| 视频一区国产视频| 91美女在线视频| 亚洲国产精品激情在线观看| 蜜臀av一区二区在线免费观看| 欧美在线色视频| 亚洲欧美怡红院| 国产精品1区2区| 精品久久人人做人人爱| 首页国产丝袜综合| 欧美少妇bbb| ...av二区三区久久精品| 国产成人一级电影| 久久久久久一级片| 国产一区二区三区四区五区美女| 欧美肥胖老妇做爰| 午夜激情综合网| 欧美高清性hdvideosex| 亚洲综合在线电影| 色噜噜久久综合| 亚洲蜜桃精久久久久久久| 丁香啪啪综合成人亚洲小说 | 性做久久久久久免费观看| 99精品视频在线观看| 一色屋精品亚洲香蕉网站| 北条麻妃一区二区三区| 国产免费久久精品| av日韩在线网站| 亚洲三级在线免费| 在线视频中文字幕一区二区| 一区二区三区.www| 91久久精品国产91性色tv| 一区二区理论电影在线观看| 欧美亚洲一区二区在线观看| 亚洲高清不卡在线| 91精品国产入口| 激情综合一区二区三区| 国产日韩精品久久久| 国产成人亚洲综合a∨婷婷图片| 国产日产欧美一区二区视频| 暴力调教一区二区三区| 亚洲中国最大av网站| 制服丝袜中文字幕亚洲| 国产露脸91国语对白| 中文字幕欧美日韩一区| 色综合久久久久综合体桃花网| 亚洲一区二区影院| 日韩你懂的在线播放| 岛国精品在线观看| 亚洲一区二区三区国产| 日韩精品资源二区在线| 福利91精品一区二区三区| 亚洲欧美日韩国产综合在线| 91麻豆精品国产91久久久久 | 青椒成人免费视频| 国产欧美一区二区精品性色超碰| 91在线无精精品入口| 图片区日韩欧美亚洲| 久久一区二区视频| 色香蕉成人二区免费| 蜜臀精品久久久久久蜜臀| 中文字幕av不卡| 在线不卡的av| 白白色 亚洲乱淫| 日韩av不卡一区二区| 欧美激情综合五月色丁香| 欧美日韩色一区| 国产精品一区二区久久精品爱涩| 亚洲欧美色图小说| 精品不卡在线视频| 欧美日韩在线播放一区| 国产一区999| 日韩电影在线观看网站| 国产精品久久久久永久免费观看| 欧美二区乱c少妇| 欧美一级二级三级乱码| 99久久精品免费精品国产| 激情五月激情综合网| 亚洲成人中文在线| 日韩伦理免费电影| 国产欧美一区二区精品久导航| 欧美军同video69gay| 91美女在线观看| 成人免费视频视频在线观看免费| 久久精品国产99国产| 亚洲午夜激情av| 成人欧美一区二区三区| www久久精品| 日韩你懂的在线播放| 欧美一区二区福利在线| 欧美视频在线一区| 欧美在线综合视频| 色婷婷亚洲精品| av不卡免费电影| 99热这里都是精品| 大尺度一区二区| 国产成人高清在线| 国产馆精品极品| 国产主播一区二区| 国产精品一二一区| 国产成人在线影院| 国产91富婆露脸刺激对白| 久久av中文字幕片| 狠狠色丁香婷综合久久| 国内精品国产三级国产a久久| 美女久久久精品| 久久99国产精品麻豆| 久久国产视频网| 狠狠色丁香九九婷婷综合五月 | 一区二区三区自拍| 一区二区理论电影在线观看| 亚洲一二三区在线观看| 亚洲一区在线观看免费| 亚洲mv在线观看| 麻豆91精品视频| 国产高清不卡一区| 99国产精品视频免费观看| 99视频国产精品| 欧美日韩一区二区三区视频| 欧美日韩一区二区不卡| 欧美一激情一区二区三区| 欧美一区二区三区免费视频| 精品伦理精品一区| 国产精品美女一区二区在线观看| 国产精品乱码妇女bbbb| 亚洲欧美另类久久久精品2019| 一区二区欧美国产| 蜜臀av一级做a爰片久久| 国产成人综合网| 一本色道久久综合亚洲精品按摩| 欧美影院午夜播放| 欧美成人r级一区二区三区| 久久网这里都是精品| 亚洲欧美电影一区二区| 日本sm残虐另类| 成人一级视频在线观看| 在线观看视频一区| 精品噜噜噜噜久久久久久久久试看| 中文字幕第一区| 一区二区三区不卡在线观看| 卡一卡二国产精品| 91在线视频免费91| 欧美一区二区福利视频| 国产精品久久久久久久久免费相片 | 亚洲自拍偷拍麻豆| 久久激五月天综合精品| 97国产精品videossex| 欧美一区二区国产| 亚洲精品国产精品乱码不99| 蜜臀av亚洲一区中文字幕| 99精品视频一区二区| 日韩一区二区三区电影在线观看| 亚洲欧洲三级电影| 久久99深爱久久99精品| 色婷婷av一区| 国产三级欧美三级日产三级99| 午夜视频在线观看一区二区| 大美女一区二区三区| 日韩欧美一区中文| 亚洲综合色网站| jizzjizzjizz欧美| 精品88久久久久88久久久| 午夜精品福利一区二区三区蜜桃| 成人午夜电影久久影院| 日韩欧美一区在线观看| 一区二区欧美国产| 99精品视频在线观看| 久久久亚洲欧洲日产国码αv| 午夜久久福利影院| 一本色道久久综合亚洲aⅴ蜜桃 | 国产盗摄女厕一区二区三区| 欧美夫妻性生活| 亚洲最新视频在线观看| 91影院在线免费观看| 国产日产精品1区| 国产一区啦啦啦在线观看| 日韩欧美国产成人一区二区| 亚洲成人福利片| 色天使色偷偷av一区二区| 国产精品色哟哟| 成人av电影在线播放| 国产精品午夜在线| 国产aⅴ综合色| 国产免费久久精品| 懂色中文一区二区在线播放| 欧美v国产在线一区二区三区| 青青草原综合久久大伊人精品| 欧美日韩精品三区| 日本视频中文字幕一区二区三区| 欧美午夜不卡在线观看免费| 亚洲精品国产a| 欧美性大战久久久久久久 |