Plotting with Wisp

We now turn our attention to Wisp, which is a powerful plotting library that you can use from the Scala shell. You can, of course, also use it from your program. But the interface it provides is so minimal that using it from the console is very convenient. It will visualize plots using your default browser. It is very simple to use and is probably the fastest way to quickly visualize your data currently available in Scala. The Wisp website is given here:

To enable the use of Wisp in your project, add the following line to your build.sbt file:

libraryDependencies += "com.quantifind" %% "wisp" % "0.0.4"

After doing that, run the following command from the shell while in the project directory:

Get Scientific Computing with Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.