Adds an LaTeX equation annotation to the chart at the given x,y coordinates.
Arguments:
chart -- the chart to add the polygon to.
x, y -- the coordinates to place the image
latex-str -- a string of latex code
Options:
:color (default java.awt.Color/darkGray) -- the text color
Examples:
(use '(incanter core charts stats latex))
(doto (function-plot pdf-normal -3 3)
(add-latex 0 0.1 "f(x)=\\frac{1}{\\sqrt{2\\pi \\sigma^2}} e^{\\frac{-(x - \\mu)^2}{2 \\sigma^2}}")
view)
Comments top
No comments for add-latex. Log in to add a comment.