You are a guest. Restricted access. Read more

SCaVis Tutorial

This tutorial is fully interactive and it is powered by Java. Please select Always trust content from this publisher when you will see a pop-up window. Please wait while the Java downloading the library for this tutorial. If Java is not installed, you still can see the examples, but they will be interactive.

SCaVis is a multiplatform environment for scientific computation and data analysis. See http://jwork.org/scavis/. In this tutorial you will learn how to use it. It is useful if have studied Python/Jython before start learning about how to use SCaVis.

About this tutorial

Left window is a code editor which can be used to type Python commands. Press the [Run] button on the right to run these commands and to see the output. You can change vertical divider position with the mouse if the output does not fit to the right window.

Let's get familiar with the interactive prompt. Type:


print 'ok'

and press [Run]. You will see “ok”. This means that you can talk to the interactive Python.

In some cases you can edit example and run the modified code. In such cases you will see a green border around such codes. Try to change 'ok' to something else and print “output”


print 'ok'  # you can edit this command

If you are not the registered member, you cannot run the code and cannot see the outputs. But you can still read this manual. For example, non-members will see the following code example:


print 'ok'  #  my comment

without the “Output” button. If you have two commands on the same line, separate them with ”;”.

First SCaVis example

Here is a small example which shows how to draw a function:


from jhplot import HPlot,F1D
c=HPlot();
c.visible()
f=F1D("x*x",-10,10)
c.draw(f)

This example can be modified. Replace “x*x” with, say by $cos(x)*x$ and run it again.

Using a standalone application

You can download the standalone application to work with SCaVis libraries. This application runs on any computer (Windows, Linux, Mac) However, you should be a full member.

This box indicate that you are not a full member.

Credits

One can comment and discuss this section after becoming a full member.

You could leave a comment if you were logged in.
scavis/start.txt · Last modified: 2013/04/14 16:52 (external edit)
Back to top
CC Attribution-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0