Skip to content

Instantly share code, notes, and snippets.

@syou6162
Created January 5, 2012 21:26
Show Gist options
  • Save syou6162/1567410 to your computer and use it in GitHub Desktop.
Save syou6162/1567410 to your computer and use it in GitHub Desktop.
incanterでwindowを閉じずにplotの内容を変更していく方法
(use '(incanter core stats charts))
(def min-val 1)
(def max-val 10)
(def chart-before (function-plot sin min-val max-val))
(def x (view chart-before))
(def chart-after (function-plot log min-val max-val))
(.setContentPane x (org.jfree.chart.ChartPanel. chart-after))
(.setVisible x true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment