es.unex.sextante.additionalResults
Class CorrelationGraphCreator

java.lang.Object
  extended by es.unex.sextante.additionalResults.CorrelationGraphCreator

public class CorrelationGraphCreator
extends java.lang.Object

This class creates a graph representing a regression analysis, with a cloud of points and an adjusted function

Author:
volaya

Constructor Summary
CorrelationGraphCreator(es.unex.sextante.libMath.regression.Regression reg)
          Constructs the graph based on a given regression
 
Method Summary
 org.jfree.chart.JFreeChart getChart()
          Returns the regression chart
 org.jfree.chart.ChartPanel getChartPanel()
          Returns a panel containing the chart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelationGraphCreator

public CorrelationGraphCreator(es.unex.sextante.libMath.regression.Regression reg)
Constructs the graph based on a given regression

Parameters:
reg - the regression
Method Detail

getChartPanel

public org.jfree.chart.ChartPanel getChartPanel()
Returns a panel containing the chart

Returns:
a panel containing the chart

getChart

public org.jfree.chart.JFreeChart getChart()
Returns the regression chart

Returns:
the regression chart