Java Doc for NonGridContourDataset.java in  » Chart » jfreechart » org » jfree » data » contour » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chart » jfreechart » org.jfree.data.contour 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.data.contour.DefaultContourDataset
   org.jfree.data.contour.NonGridContourDataset

NonGridContourDataset
public class NonGridContourDataset extends DefaultContourDataset (Code)
A convenience class that extends the DefaultContourDataset to accommodate non-grid data. XYPlotXYBlockRenderer


Field Summary
final static  intDEFAULT_NUM_X
     Default number of x values.
final static  intDEFAULT_NUM_Y
     Default number of y values.
final static  intDEFAULT_POWER
     Default power.

Constructor Summary
public  NonGridContourDataset()
     Default constructor.
public  NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData)
     Constructor for NonGridContourDataset.
public  NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData, int numX, int numY, int power)
     Constructor for NonGridContourDataset.

Method Summary
protected  voidbuildGrid(int numX, int numY, int power)
     Builds a regular grid.
protected  doubledistance(double xDataPt, double yDataPt, double xGrdPt, double yGrdPt)
     Calculates the distance between two points.
Parameters:
  xDataPt - the x coordinate.
Parameters:
  yDataPt - the y coordinate.
Parameters:
  xGrdPt - the x grid coordinate.
Parameters:
  yGrdPt - the y grid coordinate.

Field Detail
DEFAULT_NUM_X
final static int DEFAULT_NUM_X(Code)
Default number of x values.



DEFAULT_NUM_Y
final static int DEFAULT_NUM_Y(Code)
Default number of y values.



DEFAULT_POWER
final static int DEFAULT_POWER(Code)
Default power.




Constructor Detail
NonGridContourDataset
public NonGridContourDataset()(Code)
Default constructor.



NonGridContourDataset
public NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData)(Code)
Constructor for NonGridContourDataset. Uses default values for grid dimensions and weighting.
Parameters:
  seriesName - the series name.
Parameters:
  xData - the x values.
Parameters:
  yData - the y values.
Parameters:
  zData - the z values.



NonGridContourDataset
public NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData, int numX, int numY, int power)(Code)
Constructor for NonGridContourDataset.
Parameters:
  seriesName - the series name.
Parameters:
  xData - the x values.
Parameters:
  yData - the y values.
Parameters:
  zData - the z values.
Parameters:
  numX - number grid cells in along the x-axis
Parameters:
  numY - number grid cells in along the y-axis
Parameters:
  power - exponent for inverse distance weighting




Method Detail
buildGrid
protected void buildGrid(int numX, int numY, int power)(Code)
Builds a regular grid. Maps the non-grid data into the regular grid using an inverse distance between grid and non-grid points. Weighting of distance can be controlled by setting through the power parameter that controls the exponent used on the distance weighting (e.g., distance^power).
Parameters:
  numX - number grid points in along the x-axis
Parameters:
  numY - number grid points in along the y-axis
Parameters:
  power - exponent for inverse distance weighting



distance
protected double distance(double xDataPt, double yDataPt, double xGrdPt, double yGrdPt)(Code)
Calculates the distance between two points.
Parameters:
  xDataPt - the x coordinate.
Parameters:
  yDataPt - the y coordinate.
Parameters:
  xGrdPt - the x grid coordinate.
Parameters:
  yGrdPt - the y grid coordinate. The distance between two points.



Fields inherited from org.jfree.data.contour.DefaultContourDataset
boolean[] dateAxis(Code)(Java Doc)
protected Comparable seriesKey(Code)(Java Doc)
protected int[] xIndex(Code)(Java Doc)
protected Number[] xValues(Code)(Java Doc)
protected Number[] yValues(Code)(Java Doc)
protected Number[] zValues(Code)(Java Doc)

Methods inherited from org.jfree.data.contour.DefaultContourDataset
public static Object[][] formObjectArray(double[][] data)(Code)(Java Doc)
public static Object[] formObjectArray(double[] data)(Code)(Java Doc)
public int getItemCount(int series)(Code)(Java Doc)
public double getMaxZValue()(Code)(Java Doc)
public double getMinZValue()(Code)(Java Doc)
public double getMinZValue(double minX, double minY, double maxX, double maxY)(Code)(Java Doc)
public int getSeriesCount()(Code)(Java Doc)
public Comparable getSeriesKey(int series)(Code)(Java Doc)
public Number getX(int series, int item)(Code)(Java Doc)
public int[] getXIndices()(Code)(Java Doc)
public Number getXValue(int item)(Code)(Java Doc)
public Number[] getXValues()(Code)(Java Doc)
public Number getY(int series, int item)(Code)(Java Doc)
public Number[] getYValues()(Code)(Java Doc)
public Number getZ(int series, int item)(Code)(Java Doc)
public Range getZValueRange(Range x, Range y)(Code)(Java Doc)
public Number[] getZValues()(Code)(Java Doc)
public int[] indexX()(Code)(Java Doc)
public int indexX(int k)(Code)(Java Doc)
public int indexY(int k)(Code)(Java Doc)
public int indexZ(int i, int j)(Code)(Java Doc)
public void initialize(Object[] xData, Object[] yData, Object[] zData)(Code)(Java Doc)
public boolean isDateAxis(int axisNumber)(Code)(Java Doc)
public void setSeriesKeys(Comparable[] seriesKeys)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.