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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? contourplot.java

?? 制作圖表的好工具
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* ===========================================================
 * JFreeChart : a free chart library for the Java(tm) platform
 * ===========================================================
 *
 * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
 * USA.  
 *
 * [Java is a trademark or registered trademark of Sun Microsystems, Inc. 
 * in the United States and other countries.]
 *
 * ----------------
 * ContourPlot.java
 * ----------------
 * (C) Copyright 2002-2005, by David M. O'Donnell and Contributors.
 *
 * Original Author:  David M. O'Donnell;
 * Contributor(s):   David Gilbert (for Object Refinery Limited);
 *                   Arnaud Lelievre;
 *                   Nicolas Brodu;
 *
 * $Id: ContourPlot.java,v 1.16.2.3 2005/10/25 20:52:08 mungady Exp $
 *
 * Changes
 * -------
 * 26-Nov-2002 : Version 1 contributed by David M. O'Donnell (DG);
 * 14-Jan-2003 : Added crosshair attributes (DG);
 * 23-Jan-2003 : Removed two constructors (DG);
 * 21-Mar-2003 : Bug fix 701744 (DG);
 * 26-Mar-2003 : Implemented Serializable (DG);
 * 09-Jul-2003 : Changed ColorBar from extending axis classes to enclosing 
 *               them (DG);
 * 05-Aug-2003 : Applied changes in bug report 780298 (DG);
 * 08-Sep-2003 : Added internationalization via use of properties 
 *               resourceBundle (RFE 690236) (AL);
 * 11-Sep-2003 : Cloning support (NB); 
 * 16-Sep-2003 : Changed ChartRenderingInfo --> PlotRenderingInfo (DG);
 * 17-Jan-2004 : Removed references to DefaultContourDataset class, replaced 
 *               with ContourDataset interface (with changes to the interface). 
 *               See bug 741048 (DG);
 * 21-Jan-2004 : Update for renamed method in ValueAxis (DG);
 * 25-Feb-2004 : Replaced CrosshairInfo with CrosshairState (DG);
 * 06-Oct-2004 : Updated for changes in DatasetUtilities class (DG);
 * 11-Nov-2004 : Renamed zoom methods to match ValueAxisPlot interface (DG);
 * 25-Nov-2004 : Small update to clone() implementation (DG);
 * 11-Jan-2005 : Removed deprecated code in preparation for 1.0.0 release (DG);
 * 05-May-2005 : Updated draw() method parameters (DG);
 * 16-Jun-2005 : Added default constructor (DG);
 * 01-Sep-2005 : Moved dataAreaRatio from Plot to here (DG);
 * 
 */

package org.jfree.chart.plot;

import java.awt.AlphaComposite;
import java.awt.Composite;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Ellipse2D;
import java.awt.geom.GeneralPath;
import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RectangularShape;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;

import org.jfree.chart.ClipPath;
import org.jfree.chart.annotations.XYAnnotation;
import org.jfree.chart.axis.AxisSpace;
import org.jfree.chart.axis.ColorBar;
import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.entity.ContourEntity;
import org.jfree.chart.entity.EntityCollection;
import org.jfree.chart.event.AxisChangeEvent;
import org.jfree.chart.event.PlotChangeEvent;
import org.jfree.chart.labels.ContourToolTipGenerator;
import org.jfree.chart.labels.StandardContourToolTipGenerator;
import org.jfree.chart.urls.XYURLGenerator;
import org.jfree.data.Range;
import org.jfree.data.contour.ContourDataset;
import org.jfree.data.general.DatasetChangeEvent;
import org.jfree.data.general.DatasetUtilities;
import org.jfree.ui.RectangleEdge;
import org.jfree.ui.RectangleInsets;
import org.jfree.util.ObjectUtilities;

/**
 * A class for creating shaded contours.
 *
 * @author David M. O'Donnell
 */
public class ContourPlot extends Plot implements ContourValuePlot,
                                                 ValueAxisPlot,
                                                 PropertyChangeListener,
                                                 Serializable,
                                                 Cloneable {

    /** For serialization. */
    private static final long serialVersionUID = 7861072556590502247L;
    
    /** The default insets. */
    protected static final RectangleInsets DEFAULT_INSETS 
        = new RectangleInsets(2.0, 2.0, 100.0, 10.0);

    /** The domain axis (used for the x-values). */
    private ValueAxis domainAxis;

    /** The range axis (used for the y-values). */
    private ValueAxis rangeAxis;

    /** The dataset. */
    private ContourDataset dataset;
    
    /** The colorbar axis (used for the z-values). */
    private ColorBar colorBar = null;

    /** The color bar location. */
    private RectangleEdge colorBarLocation;
    
    /** A flag that controls whether or not a domain crosshair is drawn..*/
    private boolean domainCrosshairVisible;

    /** The domain crosshair value. */
    private double domainCrosshairValue;

    /** The pen/brush used to draw the crosshair (if any). */
    private transient Stroke domainCrosshairStroke;

    /** The color used to draw the crosshair (if any). */
    private transient Paint domainCrosshairPaint;

    /** 
     * A flag that controls whether or not the crosshair locks onto actual data
     * points. 
     */
    private boolean domainCrosshairLockedOnData = true;

    /** A flag that controls whether or not a range crosshair is drawn..*/
    private boolean rangeCrosshairVisible;

    /** The range crosshair value. */
    private double rangeCrosshairValue;

    /** The pen/brush used to draw the crosshair (if any). */
    private transient Stroke rangeCrosshairStroke;

    /** The color used to draw the crosshair (if any). */
    private transient Paint rangeCrosshairPaint;

    /** 
     * A flag that controls whether or not the crosshair locks onto actual data
     * points. 
     */
    private boolean rangeCrosshairLockedOnData = true;

    /** 
     * Defines dataArea rectangle as the ratio formed from dividing height by 
     * width (of the dataArea).  Modifies plot area calculations.
     * ratio>0 will attempt to layout the plot so that the
     * dataArea.height/dataArea.width = ratio.
     * ratio<0 will attempt to layout the plot so that the
     * dataArea.height/dataArea.width in plot units (not java2D units as when 
     * ratio>0) = -1.*ratio.
     */         //dmo
    private double dataAreaRatio = 0.0;  //zero when the parameter is not set

    /** A list of markers (optional) for the domain axis. */
    private List domainMarkers;

    /** A list of markers (optional) for the range axis. */
    private List rangeMarkers;

    /** A list of annotations (optional) for the plot. */
    private List annotations;

    /** The tool tip generator. */
    private ContourToolTipGenerator toolTipGenerator;

    /** The URL text generator. */
    private XYURLGenerator urlGenerator;

    /** 
     * Controls whether data are render as filled rectangles or rendered as 
     * points 
     */
    private boolean renderAsPoints = false;

    /** 
     * Size of points rendered when renderAsPoints = true.  Size is relative to
     * dataArea 
     */
    private double ptSizePct = 0.05;

    /** Contains the a ClipPath to "trim" the contours. */
    private transient ClipPath clipPath = null;

    /** Set to Paint to represent missing values. */
    private transient Paint missingPaint = null;

    /** The resourceBundle for the localization. */
    protected static ResourceBundle localizationResources = 
        ResourceBundle.getBundle("org.jfree.chart.plot.LocalizationBundle");

    /**
     * Creates a new plot with no dataset or axes.
     */
    public ContourPlot() {
        this(null, null, null, null);
    }
    
    /**
     * Constructs a contour plot with the specified axes (other attributes take
     * default values).
     *
     * @param dataset  The dataset.
     * @param domainAxis  The domain axis.
     * @param rangeAxis  The range axis.
     * @param colorBar  The z-axis axis.
    */
    public ContourPlot(ContourDataset dataset,
                       ValueAxis domainAxis, ValueAxis rangeAxis, 
                       ColorBar colorBar) {

        super();

        this.dataset = dataset;
        if (dataset != null) {
            dataset.addChangeListener(this);
        }
        
        this.domainAxis = domainAxis;
        if (domainAxis != null) {
            domainAxis.setPlot(this);
            domainAxis.addChangeListener(this);
        }

        this.rangeAxis = rangeAxis;
        if (rangeAxis != null) {
            rangeAxis.setPlot(this);
            rangeAxis.addChangeListener(this);
        }

        this.colorBar = colorBar;
        if (colorBar != null) {
            colorBar.getAxis().setPlot(this);
            colorBar.getAxis().addChangeListener(this);
            colorBar.configure(this);
        }
        this.colorBarLocation = RectangleEdge.LEFT;

        this.toolTipGenerator = new StandardContourToolTipGenerator();

    }

    /**
     * Returns the color bar location.
     * 
     * @return The color bar location.
     */
    public RectangleEdge getColorBarLocation() {
        return this.colorBarLocation;
    }
    
    /**
     * Sets the color bar location and sends a {@link PlotChangeEvent} to all 
     * registered listeners.
     * 
     * @param edge  the location.
     */
    public void setColorBarLocation(RectangleEdge edge) {
        this.colorBarLocation = edge;
        notifyListeners(new PlotChangeEvent(this));    
    }
    
    /**
     * Returns the primary dataset for the plot.
     * 
     * @return The primary dataset (possibly <code>null</code>).
     */
    public ContourDataset getDataset() {
        return this.dataset;
    }
    
    /**
     * Sets the dataset for the plot, replacing the existing dataset if there
     * is one.
     * 
     * @param dataset  the dataset (<code>null</code> permitted).
     */
    public void setDataset(ContourDataset dataset) {
        
        // if there is an existing dataset, remove the plot from the list of 
        // change listeners...
        ContourDataset existing = this.dataset;
        if (existing != null) {
            existing.removeChangeListener(this);
        }

        // set the new dataset, and register the chart as a change listener...
        this.dataset = dataset;
        if (dataset != null) {
            setDatasetGroup(dataset.getGroup());
            dataset.addChangeListener(this);
        }

        // send a dataset change event to self...
        DatasetChangeEvent event = new DatasetChangeEvent(this, dataset);
        datasetChanged(event);
        
    }

    /**
     * Returns the domain axis for the plot.
     *
     * @return The domain axis.
     */
    public ValueAxis getDomainAxis() {

        ValueAxis result = this.domainAxis;

        return result;

    }

    /**
     * Sets the domain axis for the plot (this must be compatible with the plot
     * type or an exception is thrown).
     *
     * @param axis The new axis.
     */
    public void setDomainAxis(ValueAxis axis) {

        if (isCompatibleDomainAxis(axis)) {

            if (axis != null) {
                axis.setPlot(this);
                axis.addChangeListener(this);
            }

            // plot is likely registered as a listener with the existing axis...
            if (this.domainAxis != null) {
                this.domainAxis.removeChangeListener(this);
            }

            this.domainAxis = axis;
            notifyListeners(new PlotChangeEvent(this));

        }

    }

    /**
     * Returns the range axis for the plot.
     *
     * @return The range axis.
     */
    public ValueAxis getRangeAxis() {

        ValueAxis result = this.rangeAxis;

        return result;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美丝袜第三区| 成人少妇影院yyyy| 色综合亚洲欧洲| 久久综合色鬼综合色| 一区二区三区小说| 东方aⅴ免费观看久久av| 日韩一区二区三| 一个色在线综合| eeuss鲁片一区二区三区在线看| 91精品国产综合久久精品麻豆| 中文字幕中文字幕一区二区| 久久99九九99精品| 欧美亚洲国产一区在线观看网站| 亚洲国产精品高清| 国产又黄又大久久| 欧美一区日韩一区| 亚洲男人都懂的| 美女在线视频一区| 日韩一区二区在线观看视频播放 | 欧美一区2区视频在线观看| 中文字幕av在线一区二区三区| 亚洲午夜电影网| 91成人免费网站| 亚洲欧美区自拍先锋| 在线视频你懂得一区| 亚洲精品久久久久久国产精华液| 色综合天天综合狠狠| 综合中文字幕亚洲| 99精品欧美一区二区三区综合在线| 国产欧美综合在线观看第十页| 经典三级在线一区| 国产福利不卡视频| 中文文精品字幕一区二区| 日本韩国视频一区二区| 亚洲婷婷在线视频| 久久99精品久久久久婷婷| 91麻豆精东视频| 亚洲欧美经典视频| 777久久久精品| 日韩一区二区在线看片| 免费在线观看不卡| 欧美午夜宅男影院| 亚洲电影你懂得| 在线免费av一区| 亚洲最新在线观看| 欧美在线999| 亚洲一区二区美女| 欧美精品视频www在线观看| 亚洲国产精品自拍| 欧美揉bbbbb揉bbbbb| 亚洲.国产.中文慕字在线| 欧美疯狂性受xxxxx喷水图片| 亚洲精选免费视频| 欧美色综合久久| 日韩av网站免费在线| 日韩视频国产视频| 国产自产v一区二区三区c| 久久精品人人做| 99r精品视频| 亚洲无线码一区二区三区| 欧美喷潮久久久xxxxx| 日本欧美大码aⅴ在线播放| 欧美一卡二卡在线| 国产成人亚洲综合a∨猫咪| 国产精品毛片高清在线完整版 | 国产欧美一区二区三区沐欲| 国产福利精品一区| 亚洲欧洲性图库| 欧美日韩一区二区三区在线看 | 亚洲日本护士毛茸茸| 一本到不卡精品视频在线观看| 亚洲一区二区3| 7777精品伊人久久久大香线蕉最新版| 久久精品国产精品亚洲精品 | 88在线观看91蜜桃国自产| 美国十次综合导航| 中文字幕av一区 二区| 色哟哟日韩精品| 日韩av中文字幕一区二区三区| 久久综合久久久久88| 成人精品视频.| 一区二区三区在线视频观看 | 白白色亚洲国产精品| 一区二区理论电影在线观看| 日韩精品一区二区三区视频在线观看| 国产伦精品一区二区三区免费迷| 亚洲丝袜制服诱惑| 91精品国产综合久久精品app| 国产精品综合久久| 亚洲视频在线一区二区| 有码一区二区三区| 日韩欧美国产电影| 91免费在线播放| 麻豆久久一区二区| **欧美大码日韩| 欧美大片顶级少妇| 一本大道久久a久久精品综合| 青青草伊人久久| 国产精品免费久久| 日韩欧美亚洲国产精品字幕久久久| 成人精品小蝌蚪| 人人爽香蕉精品| 亚洲色图.com| 精品国产乱码久久久久久1区2区 | 波波电影院一区二区三区| 亚洲国产欧美日韩另类综合 | 色综合久久久久久久久久久| 免费精品99久久国产综合精品| 亚洲女人的天堂| 久久这里只有精品首页| 欧美最猛黑人xxxxx猛交| 国产成人综合在线观看| 日韩精品91亚洲二区在线观看| 国产女主播一区| 欧美va亚洲va在线观看蝴蝶网| 欧洲生活片亚洲生活在线观看| 国产91精品久久久久久久网曝门| 首页亚洲欧美制服丝腿| 亚洲免费成人av| 国产日韩欧美一区二区三区乱码 | 欧美一区二区三区影视| 91在线云播放| 国产91精品久久久久久久网曝门| 日韩精品乱码av一区二区| 亚洲免费色视频| 中文字幕不卡三区| 精品国产91乱码一区二区三区 | 成人在线视频首页| 精品在线观看免费| 免费看黄色91| 性欧美疯狂xxxxbbbb| 最新不卡av在线| 国产精品午夜在线观看| 久久久久久久网| 精品精品欲导航| 678五月天丁香亚洲综合网| 91久久精品一区二区二区| 成人av资源下载| 国内久久精品视频| 精品一区二区三区久久| 强制捆绑调教一区二区| 亚洲国产人成综合网站| 亚洲自拍偷拍欧美| 亚洲另类中文字| 亚洲欧美在线观看| 亚洲欧洲99久久| 一色屋精品亚洲香蕉网站| 久久午夜国产精品| 久久嫩草精品久久久精品一| 日韩美女视频在线| 欧美一区二区三区日韩视频| 欧美日韩一区二区三区视频| 色婷婷综合久久久久中文| 96av麻豆蜜桃一区二区| 成人动漫av在线| 99久久综合狠狠综合久久| 成人av在线观| a4yy欧美一区二区三区| av电影天堂一区二区在线| 91在线国产福利| 日本韩国欧美三级| 91啪亚洲精品| 欧美性猛片aaaaaaa做受| 欧美天天综合网| 4hu四虎永久在线影院成人| 欧美一区二区三区在线| 日韩精品最新网址| 欧美成人在线直播| 久久夜色精品一区| 中文字幕av不卡| 国产精品成人在线观看| 亚洲欧洲综合另类在线| 亚洲自拍偷拍网站| 天天操天天色综合| 玖玖九九国产精品| 国产一区不卡视频| av午夜精品一区二区三区| 91玉足脚交白嫩脚丫在线播放| 色欧美日韩亚洲| 7777精品伊人久久久大香线蕉完整版 | 亚洲国产成人porn| 亚洲一区二区三区小说| 婷婷亚洲久悠悠色悠在线播放| 另类欧美日韩国产在线| 国产美女视频91| 91在线视频免费观看| 欧美精选一区二区| 日韩精品在线看片z| 国产日韩视频一区二区三区| 亚洲精品久久7777| 日本不卡免费在线视频| 国内精品在线播放| 91免费在线视频观看| 69p69国产精品| 国产亚洲综合在线| 亚洲精品精品亚洲| 男人操女人的视频在线观看欧美| 国产麻豆精品在线| 91麻豆精品视频| 欧美v国产在线一区二区三区|