com.croftsoft.core.gui.plot
Class PlotLib

java.lang.Object
  extended by com.croftsoft.core.gui.plot.PlotLib

public final class PlotLib
extends Object

Plots points on an XY chart.

Since:
1998-12-27
Version:
2002-02-28
Author:
David Wallace Croft

Method Summary
static Point graphics_to_plot_transform(Point gPoint, Rectangle r, Graphics g, double axis_x0, double axis_x1, double axis_y0, double axis_y1)
           
static void line(double m, double b, Rectangle r, Graphics g, double x0, double x1, double y0, double y1)
           
static Point plot_to_graphics_transform(Point plot_Point, Rectangle r, Graphics g, double axis_x0, double axis_x1, double axis_y0, double axis_y1)
           
static void xy(Color c, double x, double y, Rectangle r, Graphics g, double x0, double x1, double y0, double y1, int oval_size)
           
static void xy(Color c, double x, double y, Rectangle r, Graphics g, double x0, double x1, double y0, double y1, int ovalSizeMin, boolean scaleOvalSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

line

public static void line(double m,
                        double b,
                        Rectangle r,
                        Graphics g,
                        double x0,
                        double x1,
                        double y0,
                        double y1)

graphics_to_plot_transform

public static Point graphics_to_plot_transform(Point gPoint,
                                               Rectangle r,
                                               Graphics g,
                                               double axis_x0,
                                               double axis_x1,
                                               double axis_y0,
                                               double axis_y1)

plot_to_graphics_transform

public static Point plot_to_graphics_transform(Point plot_Point,
                                               Rectangle r,
                                               Graphics g,
                                               double axis_x0,
                                               double axis_x1,
                                               double axis_y0,
                                               double axis_y1)

xy

public static void xy(Color c,
                      double x,
                      double y,
                      Rectangle r,
                      Graphics g,
                      double x0,
                      double x1,
                      double y0,
                      double y1,
                      int oval_size)

xy

public static void xy(Color c,
                      double x,
                      double y,
                      Rectangle r,
                      Graphics g,
                      double x0,
                      double x1,
                      double y0,
                      double y1,
                      int ovalSizeMin,
                      boolean scaleOvalSize)

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)