Returns an scatter-plot bound to sliders (which tend to appear behind the chart).
See the sliders macro for more information.
Examples:
(use '(incanter core stats charts))
(let [x (range -3 3 0.1)]
(view (dynamic-scatter-plot [mean (range -3 3 0.1)
sd (range 0.1 10 0.1)]
[x (pdf-normal x :mean mean :sd sd)]
:title "Normal PDF Plot")))
(let [x (range -3 3 0.1)]
(view (dynamic-scatter-plot [mean (range -3 3 0.1)
sd (range 0.1 10 0.1)]
(for [xi x] [xi (pdf-normal xi :mean mean :sd sd)])
:title "Normal PDF Plot")))
Comments top
No comments for dynamic-scatter-plot. Log in to add a comment.