Package edu.wisc.game.svg
Class SvgEcd
java.lang.Object
edu.wisc.game.svg.SvgEcd
Utilities for generating SVG plots for ECD data
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcircle(SvgEcd.Point center, double radius, String color) static StringdrawFrame(double xRange) Draws the frame around the data field, and prints the tic labels.static Stringline(SvgEcd.Point _a, SvgEcd.Point _b, String color) static StringmakeSvgEcd(String color, double[] sample, double xRange, double yRange) static Stringstatic Stringstatic StringrawCircle(SvgEcd.Point center, double radius, String color) static StringrawLine(SvgEcd.Point a, SvgEcd.Point b, String color) static Stringstatic StringPuts some text into the specified position on the SVG canvasstatic edu.wisc.game.svg.SvgEcd.SvgElement
-
Field Details
-
fm
-
-
Constructor Details
-
SvgEcd
public SvgEcd()
-
-
Method Details
-
rawText
-
rawText
Puts some text into the specified position on the SVG canvas- Parameters:
x- The x position, in SVG coordinatesy- The y position, in SVG coordinates
-
rawTextE
-
drawFrame
Draws the frame around the data field, and prints the tic labels. -
rawLine
-
line
-
circle
-
rawCircle
-
makeSvgEcd
-
outerWrap
-
outerWrap
-