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:
https://github.com/quantifind/wisp
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:
sbt console
This will put you in the Scala console with the Wisp libraries loaded and ready to go. Note that, since Wisp is a large library with a lot of dependencies, it may take a while to pull them all in. Now, we can simply type in instructions and...