Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class Graphics2DPlotter {
static final SVGGraphics2D g2d = new SVGGraphics2D(...);
byte[] plotAsSVG(String function, double xmin, double xmax) {
... /* Use g2d instance for rendering. */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment