Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@christianwimmer
Created October 20, 2018 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christianwimmer/6ae6a4e8b07f7176152c48b2747d89a7 to your computer and use it in GitHub Desktop.
Save christianwimmer/6ae6a4e8b07f7176152c48b2747d89a7 to your computer and use it in GitHub Desktop.
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