Skip to content
SBT project to run the JZY3D samples
Scala
Branch: master
Clone or download
This branch is even with retronym:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src/main/scala/org/jzy3d/demos
.gitignore
README.md
build.sbt

README.md

An SBT project to demonstrate the excellent JZY3D scientific plotting library.

Edit build.sbt to pick your machine architecture. After this, SBT will download all necessary libraries automatically.

Then you can run the code samples provided by JZY3D, which I've converted to Scala.

Note that you can't run more than one sample from a single SBT session, as the native code loading mechanism in SBT doesn't allow for this.

$ sbt run
[info] Loading global plugins from /Users/jason/.sbt/plugins
[info] Loading project definition from /Users/jason/code/scratch/20120129/project
[info] Set current project to jzy-demo (in build file:/Users/jason/code/scratch/20120129/)

Multiple main classes detected, select one to run:

 [1] org.jzy3d.demos.surface.WireSurfaceDemo
 [2] org.jzy3d.demos.surface.MexicanDemo
 [3] org.jzy3d.demos.surface.ColorWaveDemo
 [4] org.jzy3d.demos.surface.BuildSurfaceDemo

Enter number: 2

[info] Running org.jzy3d.demos.surface.MexicanDemo 
Rotate     : Left click and drag mouse
You can’t perform that action at this time.