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

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

?? 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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区在线观看av| 精品少妇一区二区三区视频免付费| 亚洲人成7777| 日韩精品资源二区在线| 久久久高清一区二区三区| 国产成人亚洲精品狼色在线 | 久久欧美一区二区| 亚洲免费伊人电影| 国产精品原创巨作av| 欧美在线free| 久久精品在线免费观看| 亚洲在线观看免费| 久久疯狂做爰流白浆xx| 99re成人精品视频| 精品国产欧美一区二区| 精品sm在线观看| 日本精品一区二区三区高清| 久久网站最新地址| 日本亚洲欧美天堂免费| 在线看国产一区| 18成人在线观看| 成人综合婷婷国产精品久久 | 国产91精品免费| 欧美一级片免费看| 亚洲不卡av一区二区三区| 99综合电影在线视频| 国产三级精品在线| 韩国精品主播一区二区在线观看 | eeuss国产一区二区三区| 2021久久国产精品不只是精品| 男女男精品视频| 7777精品伊人久久久大香线蕉经典版下载 | 日韩欧美在线不卡| 午夜视频一区在线观看| 色嗨嗨av一区二区三区| 亚洲同性同志一二三专区| 粉嫩欧美一区二区三区高清影视 | 欧美日韩国产一级| 洋洋成人永久网站入口| 91精彩视频在线| 亚洲精品日韩一| 色素色在线综合| 亚洲精品国产成人久久av盗摄 | 青青草国产成人99久久| 欧美日韩1234| 三级一区在线视频先锋| 欧美精品一二三四| 日本中文字幕一区| 日韩欧美激情一区| 韩国v欧美v日本v亚洲v| 欧美电影免费观看高清完整版在| 久久精品国产在热久久| 欧美电影免费观看高清完整版在| 久久爱另类一区二区小说| 久久久另类综合| 成人综合婷婷国产精品久久蜜臀| 国产精品久久精品日日| 色综合亚洲欧洲| 亚洲制服丝袜av| 欧美二区在线观看| 精品制服美女久久| 久久综合九色综合97婷婷女人 | 五月开心婷婷久久| 欧美一区二区三区视频免费| 91年精品国产| 曰韩精品一区二区| 欧美高清激情brazzers| 欧美aⅴ一区二区三区视频| 欧美一级一区二区| 国产精品一区二区久激情瑜伽| 久久久久高清精品| 91片黄在线观看| 亚洲成人手机在线| 日韩欧美成人激情| 高清成人免费视频| 一区二区三区精品久久久| 制服丝袜中文字幕亚洲| 精品一区在线看| 国产精品网友自拍| 欧美一a一片一级一片| 无吗不卡中文字幕| 久久亚洲捆绑美女| 91精品办公室少妇高潮对白| 美国三级日本三级久久99| 欧美激情一区二区| 欧美亚洲动漫精品| 韩国三级中文字幕hd久久精品| 日韩一区在线免费观看| 欧美日韩国产高清一区二区三区 | 一级做a爱片久久| 日韩一区二区在线播放| 成人污视频在线观看| 亚洲综合精品自拍| 久久综合色之久久综合| 色哟哟在线观看一区二区三区| 日韩精品成人一区二区三区| 国产嫩草影院久久久久| 欧美日韩国产一区二区三区地区| 国产精品自拍在线| 午夜精品久久一牛影视| 欧美激情综合五月色丁香小说| 欧美无人高清视频在线观看| 国产精品综合网| 三级欧美在线一区| 日韩理论片网站| 精品少妇一区二区三区免费观看 | 国产高清在线精品| 亚洲第一主播视频| 国产精品美女久久久久aⅴ| 3d成人动漫网站| 91亚洲精品久久久蜜桃网站| 蜜臀av亚洲一区中文字幕| 亚洲视频一二三| 26uuu亚洲| 91麻豆精品国产综合久久久久久 | 免费观看成人鲁鲁鲁鲁鲁视频| 国产精品嫩草99a| 日韩欧美一区二区视频| 91免费看视频| 国产高清不卡一区二区| 日韩二区三区在线观看| 亚洲乱码中文字幕| 国产三级一区二区| 日韩一级完整毛片| 欧美无砖砖区免费| 99精品视频在线观看| 国产在线看一区| 日韩中文字幕91| 亚洲一区视频在线| 中文字幕在线视频一区| 国产亚洲一区二区三区四区| 欧美一卡二卡在线观看| 欧美性感一类影片在线播放| 99久久国产综合精品麻豆| 国产成人午夜精品影院观看视频 | 亚洲制服丝袜av| 亚洲欧洲一区二区在线播放| 久久久国产午夜精品| 精品国产sm最大网站免费看| 欧美精品日韩精品| 欧美优质美女网站| 91欧美激情一区二区三区成人| 懂色av中文字幕一区二区三区| 国产一本一道久久香蕉| 久色婷婷小香蕉久久| 日本女人一区二区三区| 午夜精品久久久久久久久| 亚洲最新视频在线观看| 亚洲一区二区三区精品在线| 亚洲免费观看高清| 伊人性伊人情综合网| 亚洲婷婷综合久久一本伊一区 | 日韩欧美不卡一区| 91精品国产91久久久久久最新毛片 | 亚州成人在线电影| 亚洲综合丁香婷婷六月香| 一区二区三区中文字幕精品精品| 亚洲欧美综合网| 亚洲精品中文在线观看| 一区二区三区不卡视频在线观看| 亚洲精品日韩综合观看成人91| 亚洲欧美日韩系列| 一区二区日韩av| 亚洲国产成人高清精品| 图片区小说区区亚洲影院| 日韩综合一区二区| 免费在线看成人av| 麻豆成人av在线| 国产一区在线观看麻豆| 国产成人a级片| 波多野结衣亚洲| 91福利社在线观看| 欧美日韩国产影片| 日韩你懂的在线观看| 26uuu精品一区二区三区四区在线| 久久免费看少妇高潮| 国产精品乱人伦一区二区| 亚洲同性同志一二三专区| 亚洲国产日韩av| 久久精品噜噜噜成人88aⅴ| 国产精品一区在线观看乱码 | 理论电影国产精品| 国产精品主播直播| 99r国产精品| 欧美日韩亚洲综合一区| 日韩欧美一二三| 中文字幕免费在线观看视频一区| 中文字幕一区二区三区在线观看| 一区二区高清视频在线观看| 日韩在线a电影| 国产一区二区三区视频在线播放| 国产.欧美.日韩| 在线免费亚洲电影| 日韩美女一区二区三区| 国产精品无码永久免费888| 亚洲欧美国产高清| 秋霞av亚洲一区二区三| 大白屁股一区二区视频| 色噜噜夜夜夜综合网| 欧美一区二区视频观看视频|