Skip to content
Browse files

added additional example to 'getting started' section of README

  • Loading branch information...
1 parent 6b3576f commit dfde00b54ec1b74c3fb36bdc69774d1201f914b9 @liebke liebke committed Dec 21, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.textile
View
5 README.textile
@@ -55,6 +55,11 @@ From the Clojure shell, load the Incanter libraries: <pre><code>(use '(incanter
Try an example: sample 1,000 values from a standard-normal distribution and view a histogram: <pre><code>(view (histogram (sample-normal 1000)))</code></pre>
<img src="http://incanter.org/images/examples/normal_hist.png" />
+Try another simple example, a plot of the sine function over the range -4 to 4:
+<pre><code>(view (function-plot sin -4 4))</code></pre>
+<img src="http://incanter.org/images/examples/sin-plot.png" />
+
+
The online documentation for most Incanter functions contain usage examples. The documentation can be viewed using Clojure's @doc@ function. For example, to view the documentation and usage examples for the @linear-model@ function, call @(doc linear-model)@ from the Clojure shell. Use @(find-doc "search term")@ to search the online documentation from the Clojure shell. The API documentation can also be found in the @docs/api/@ directory and online at <a href="http://incanter.org/docs/api">http://incanter.org/docs/api/</a>.
*More Incanter examples*

0 comments on commit dfde00b

Please sign in to comment.
Something went wrong with that request. Please try again.