com.brusoftware.plot4j
Class RawGraph

java.lang.Object
  extended by com.brusoftware.plot4j.Graph
      extended by com.brusoftware.plot4j.RawGraph

public class RawGraph
extends Graph

This class represents a graph on a Cartesian plane, described by its Points.

Version:
0.1
Author:
Alessandro Brunelli

Constructor Summary
RawGraph()
          Creates a new RawGraph.
RawGraph(Point[] ps)
          Creates a new RawGraph setting its Points.
 
Method Summary
 void setPoints(Point[] ps)
          Sets the Points of this RawGraph.
 
Methods inherited from class com.brusoftware.plot4j.Graph
getGraphColor, getPoints, setGraphColor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawGraph

public RawGraph()
Creates a new RawGraph.


RawGraph

public RawGraph(Point[] ps)
Creates a new RawGraph setting its Points.

Parameters:
ps - the Points of this RawGraph
See Also:
setPoints(Point[])
Method Detail

setPoints

public void setPoints(Point[] ps)
Sets the Points of this RawGraph.
This RawGraph will be visualized linking its Points two by two through a segment.

Parameters:
ps - the Points of this RawGraph