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

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

?? axis.java

?? java 作圖的程序
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
package graph;import java.awt.*;import java.applet.*;import java.util.Vector;import java.util.Enumeration;import java.lang.*;/*******************************************************************************    Class  Axis            ******************************************************************************    Copyright (C) 1995, 1996 Leigh Brookshaw****    This program is free software; you can redistribute it and/or modify**    it under the terms of the GNU General Public License as published by**    the Free Software Foundation; either version 2 of the License, or**    (at your option) any later version.****    This program 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 General Public License for more details.****    You should have received a copy of the GNU General Public License**    along with this program; if not, write to the Free Software**    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.******************************************************************************    This class is designed to be used in conjunction with **    the Graph2D class and DataSet class for plotting 2D graphs.***************************************************************************//** * This class controls the look and feel of axes.  * It is designed to be used in conjunction with  * the Graph2D class and DataSet class for plotting 2D graphs. * * To work with the other classes a system of registration is used. * The axes have to be attached to the controlling Graph2D class * and the DataSet's have to be attached to both the Graph2D class * and the Axis class. * * This way the 3 main classes Graph2D, Axis and DataSet know of each * others existence. * * This does not mean the classes cannot be used independently, they can * but in this mode nothing is automated, the user must code everything * manually * * @version  $Revision: 1.12 $, $Date: 1996/09/12 03:27:07 $. * @author   Leigh Brookshaw */ public class Axis extends Object {    /****************************** Public Static Values     **************************//** *    Constant flagging Horizontal Axis */      static final int  HORIZONTAL = 0;/** *    Constant flagging Vertical Axis */      static final int  VERTICAL   = 1;/** *    Constant flagging Axis position on the graph.  *    Left side => Vertical */      public static final int  LEFT       = 2;/** *    Constant flagging Axis position on the graph.  *    Right side => Vertical */      public static final int  RIGHT      = 3;/** *    Constant flagging Axis position on the graph.  *    Top side => Horizontal */      public static final int  TOP        = 4;/** *    Constant flagging Axis position on the graph.  *    Bottom side => Horizontal */      public static final int  BOTTOM     = 5;/** *    The first guess on the number of Labeled Major tick marks. */      static final int  NUMBER_OF_TICS = 4;/************************** Public Variables      **********************/  /**   *    If <i>true</i> draw a grid positioned on major ticks over the graph   */      public boolean  drawgrid        = false;  /**   *    If <i>true</i> draw a line positioned on the Zero label tick mark.   */      public boolean  drawzero        = false;  /**   * Color of the grid   */      public Color   gridcolor        = null;  /**   * Color of the line at the Zero label   */      public Color   zerocolor        = null;  /**   * Default value <i>true</i>. Normally never changed. If set <i>false</I>   * the Axis draw method exits without drawing the axis.   * @see Axis#drawAxis()   */      public boolean redraw           = true;  /**   * Rescale the axis so that labels fall at the end of the Axis. Default   * value <i>false</i>.   */      public boolean force_end_labels = false;  /**   * Size in pixels of the major tick marks   */      public int     major_tic_size = 10;  /**   * Size in pixels of the minor tick marks   */      public int     minor_tic_size  = 5;  /**   * Number of minor tick marks between major tick marks   */      public int     minor_tic_count = 1;  /**   * Color of the Axis.   */      public Color   axiscolor;  /**   * Minimum data value of the axis. This is the value used to scale   * data into the data window. This is the value to alter to force   * a rescaling of the data window.   */      public double minimum;  /**   * Maximum data value of the axis. This is the value used to scale   * data into the data window. This is the value to alter to force   * a rescaling of the data window.   */      public double maximum;  /**   * Before the Axis can be positioned correctly and drawn the data window   * needs to be calculated and passed to the Axis.   */      public Dimension data_window = new Dimension(0,0);  /**   * The graph canvas this axis is attached to (if it is attached to any)   * @see graph.Graph2D   */      public Graph2D g2d = null;/************************** Protected Variables      **********************/  /**   * The position in pixels of the minimum point of the axis line   */      protected Point amin;  /**   * The position in pixels of the maximum point of the axis line   */      protected Point amax;  /**   * The orientation of the axis. Either Axis.HORIZONTAL or   * Axis.VERTICAL   */      protected int orientation;  /**   * The position of the axis. Either Axis.LEFT, Axis.RIGHT, Axis.TOP, or   * Axis.BOTTOM   */      protected int position;  /**   * The width of the Axis. Where width for a horizontal axis is really    * the height   */      protected int width = 0;  /**   * Textline class to contain the title of the axis.   */      protected RTextLine title    = new RTextLine();  /**   * Textline class to hold the labels before printing.   */      protected RTextLine label    = new RTextLine("0");  /**   * Textline class to hold the label's exponent (if it has one).   */      protected RTextLine exponent = new RTextLine();  /**   * The width of the maximum label. Used to position a Vertical Axis.   */      protected int max_label_width     = 0;  /**   * Vector containing a list of attached DataSets   */      protected Vector dataset = new Vector();  /**   * String to contain the labels.   */        protected String label_string[]     = null;  /**   * The actual values of the axis labels   */      protected float  label_value[]      = null;  /**   * The starting value of the labels   */      protected double label_start        = 0.0;  /**   * The increment between labels   */      protected double label_step         = 0.0;  /**   * The label exponent   */      protected int    label_exponent     = 0;  /**   * The number of labels required   */      protected int    label_count        = 0;  /**   * Initial guess for the number of labels required   */      protected int    guess_label_number = 4;  /**   * If true the axis range must be manually set by setting the   * Axis.minimum and Axis.maximum variables. The default is false.   * The default action is for the axis range to be calculated everytime   * a dataset is attached.   */     protected boolean manualRange = false;/************************ Constructors********************/  /**   *  Instantiate the class. The defalt type is a Horizontal axis   *  positioned at the bottom of the graph.   */      public Axis() {                 orientation = HORIZONTAL;                 position    = BOTTOM;      }             /**   * Instantiate the class. Setting the position.   * @param p Set the axis position. Must be one of Axis.BOTTOM,   * Axis.TOP, Axis.LEFT, Axis.RIGHT, Axis.HORIZONTAL or Axis.VERTICAL.   * If one of the latter two are used then Axis.BOTTOM or    * Axis.LEFT is assumed.   */      public Axis(int p) {           setPosition(p);           switch (position) {              case LEFT: case VERTICAL:                          title.setRotation(90);                          break;              case RIGHT:                          title.setRotation(-90);                          break;              default:                          title.setRotation(0);                          break;           }      }/********************** Public Methods******************/  /**   * Set the axis position.   * @param p Must be one of Axis.BOTTOM,   * Axis.TOP, Axis.LEFT, Axis.RIGHT, Axis.HORIZONTAL or Axis.VERTICAL.   * If one of the latter two are used then Axis.BOTTOM or    * Axis.LEFT is assumed.   */      public void setPosition(int p) {           position = p;           switch (position) {              case LEFT:                          orientation = VERTICAL;                          break;              case RIGHT:                          orientation = VERTICAL;                          break;              case TOP:                          orientation = HORIZONTAL;                          break;              case BOTTOM:                          orientation = HORIZONTAL;                          break;              case HORIZONTAL:                          orientation = HORIZONTAL;                          position    = BOTTOM;                          break;              case VERTICAL:                          orientation = VERTICAL;                          position    = LEFT;                          break;              default:                          orientation = HORIZONTAL;                          position    = BOTTOM;                          break;           }      }        /**   * Attach a DataSet for the Axis to manage.   * @param d dataSet to attach   * @see graph.DataSet   */      public void attachDataSet( DataSet d ) {            if( orientation == HORIZONTAL )   attachXdata( d );            else                              attachYdata( d );      }  /**   * Detach an attached DataSet   * @param d dataSet to detach   * @see graph.DataSet   */      public void detachDataSet( DataSet d ) {           int i = 0;           if( d == null ) return;           if( orientation == HORIZONTAL ) {               d.xaxis = null;           } else {               d.yaxis = null;           }           dataset.removeElement(d);           if(!manualRange) resetRange();      }  /**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产亚洲一区二区三区在线观看 | 国产一区二区三区日韩| 福利一区福利二区| 欧美一级理论片| 亚洲三级在线看| 国产精品一区二区视频| 日韩一区二区电影| 亚洲国产精品精华液网站| 成人久久18免费网站麻豆| 欧美岛国在线观看| 日韩avvvv在线播放| 欧美视频三区在线播放| 中文字幕制服丝袜一区二区三区 | 欧美视频在线播放| 国产精品乱码一区二区三区软件 | www.在线成人| 国产人成亚洲第一网站在线播放| 蜜臀av性久久久久蜜臀aⅴ四虎| 91蜜桃在线观看| 国产精品第五页| 99精品国产91久久久久久| 精品成人a区在线观看| 全国精品久久少妇| 91麻豆精品国产91久久久更新时间 | 中文字幕第一区第二区| 粉嫩蜜臀av国产精品网站| 久久无码av三级| 国内精品国产成人| 国产亚洲1区2区3区| 国产在线不卡一卡二卡三卡四卡| 欧美电影免费观看高清完整版在| 日本欧美一区二区三区| 日韩一区二区免费电影| 伦理电影国产精品| 日韩美女在线视频| 国产乱理伦片在线观看夜一区| 2017欧美狠狠色| 成人av资源网站| 亚洲蜜臀av乱码久久精品蜜桃| 一本大道av一区二区在线播放| 亚洲制服丝袜一区| 67194成人在线观看| 麻豆精品在线视频| 久久这里都是精品| www.日本不卡| 午夜伊人狠狠久久| 久久久.com| 91久久一区二区| 秋霞成人午夜伦在线观看| 2020日本不卡一区二区视频| 99久久精品情趣| 三级欧美在线一区| 国产日韩欧美在线一区| 色欧美片视频在线观看在线视频| 亚洲国产日韩综合久久精品| 日韩一区二区免费视频| 成人av综合在线| 午夜电影一区二区三区| 国产亚洲欧美日韩在线一区| 日本高清不卡aⅴ免费网站| 国产精品综合在线视频| 亚洲欧洲三级电影| 欧美精品高清视频| 国产91精品精华液一区二区三区 | 久久精品国产亚洲a| 国产精品伦理在线| 欧美一级一区二区| 成人免费观看男女羞羞视频| 亚洲成a人片在线观看中文| 国产午夜精品美女毛片视频| 欧美性大战久久久久久久蜜臀| 国产麻豆精品theporn| 亚洲成a人片在线不卡一二三区| 久久久综合九色合综国产精品| 色综合久久久久综合99| 国产精品一区二区黑丝 | 国产欧美一区二区三区在线看蜜臀| 色婷婷久久一区二区三区麻豆| 国模大尺度一区二区三区| 亚洲综合精品自拍| 久久综合久久综合久久| 56国语精品自产拍在线观看| 91小宝寻花一区二区三区| 黄页网站大全一区二区| 日韩经典一区二区| 亚洲v精品v日韩v欧美v专区| 中文字幕一区av| 久久久久久夜精品精品免费| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产999精品久久| 国产一区二区三区香蕉| 免费在线观看精品| 丝袜美腿一区二区三区| 一区二区三区在线视频免费观看| 国产亚洲精久久久久久| 精品剧情v国产在线观看在线| 欧美日韩亚洲不卡| 欧洲av在线精品| 91首页免费视频| 不卡欧美aaaaa| 成人午夜激情影院| 成人国产精品视频| 国产盗摄视频一区二区三区| 国产一二精品视频| 国产精品影视网| 国产91丝袜在线播放九色| 国产精品影视在线| 国产suv精品一区二区三区| 国内偷窥港台综合视频在线播放| 久久99久久久欧美国产| 人人精品人人爱| 麻豆精品国产传媒mv男同| 日本不卡视频一二三区| 九九国产精品视频| 国产一区二区三区免费| 国产成人h网站| 99天天综合性| 在线免费观看一区| 欧美日本在线观看| 日韩一区二区免费在线观看| 精品免费国产二区三区| 国产夜色精品一区二区av| 国产欧美一区二区精品久导航 | 日韩在线一二三区| 久久99蜜桃精品| 处破女av一区二区| 色婷婷综合久久久| 在线综合视频播放| 26uuu欧美| 中文字幕日韩一区| 天天色 色综合| 精品一区二区三区免费毛片爱| 国产乱码精品一区二区三区忘忧草| 国产91精品欧美| 色老汉一区二区三区| 欧美精品日日鲁夜夜添| 精品国产乱码久久久久久闺蜜| 久久这里只有精品首页| 亚洲少妇30p| 日本欧美在线观看| 福利一区在线观看| 欧美日韩一区二区欧美激情| 日韩精品一区二区在线| 国产精品系列在线| 天堂资源在线中文精品| 国产精品一二一区| 精品视频免费看| 欧美国产欧美综合| 视频一区视频二区在线观看| 国产精品一区二区在线观看不卡 | 久久嫩草精品久久久精品一| 国产精品久久久99| 日韩精品成人一区二区在线| 国产精品资源在线| 欧美制服丝袜第一页| 久久久99精品免费观看不卡| 亚洲国产视频一区二区| 国产成人免费在线观看| 欧美肥大bbwbbw高潮| 国产精品免费久久| 蜜臀av在线播放一区二区三区| 成人免费高清视频| 日韩一区二区三区电影在线观看| 成人免费一区二区三区在线观看 | 久久久久九九视频| 午夜精品免费在线| 成人免费视频网站在线观看| 欧美美女一区二区| 成人免费在线视频观看| 国产做a爰片久久毛片| 欧美色图天堂网| 中文字幕一区不卡| 国产精品中文字幕一区二区三区| 欧美视频中文字幕| 亚洲另类春色校园小说| 国产成人精品亚洲777人妖| 91精品国产免费| 亚洲国产精品一区二区久久| 波波电影院一区二区三区| 久久精品网站免费观看| 美女一区二区三区| 91精品一区二区三区久久久久久| 亚洲激情自拍偷拍| 91色婷婷久久久久合中文| 国产精品人人做人人爽人人添| 国产尤物一区二区| xf在线a精品一区二区视频网站| 日本中文字幕一区| 欧美精品v国产精品v日韩精品 | 亚洲丝袜另类动漫二区| 国产成人免费在线视频| 国产日韩欧美一区二区三区乱码| 美女视频第一区二区三区免费观看网站| 在线观看国产91| 亚洲午夜久久久久久久久电影网 | 日本不卡123| 日韩一区二区在线免费观看| 日韩国产欧美在线播放| 日韩一区二区精品葵司在线| 老司机免费视频一区二区|