[ Prev | Index | Next ]
Japanese English
Now Loading...
Download
Please download on PC and extract the ZIP file. Then double-click "VCSSL.jar" to execute. Java® is required to execute. The license of this VCSSL code is Public Domain (CC0), so you can customize/divert/redistribute this VCSSL code.

2D Graph Tool for Plotting Expressions of the Form of "y = f(x)"

This VCSSL program is a simple tool which plots the expression (formula) of the form of "y = f(x)" to the 2D graph.

- Index -

How to Use

Requirements

  • Java® is required to run this program.
  • This program is available for PC only. If you are browsing this page on a smartphone, please open this page on a PC before taking the following procedure.

Download and Launch this program

At first, click the "Download and Run" button at the above of the title of this page by your PC. Then a ZIP file will be downloaded, so please extract it (by selecting "Extract All" from right-clicking menu).

Next, open the extracted folder and execute "VCSSL.jar" (Executable JAR File). You may execute the JAR "VCSSL.jar" file by double-clicking, or opening by Java® Runtime Environment (JRE) from right-clicking menu, etc.

The detailed method to execute JAR files depends on the type of OS of your PC. If you are using Linux, it may be necessary to append "execute permission" to the JAR file by doing "sudo chmod +x VCSSL.jar" on command-line terminals.

If you want to edit this program...

Execute "VCSSL_Editor.jar" instead of "VCSSL.jar" to edit this program. Then a program-editor window will be launched. You can execute the edited program by clicking the blue-triangle button at the left-bottom of the editor window.

Of course you can edit the program by your favorite text editor. The program is described in the file with the extension ".vcssl".

This program is written in the VCSSL programming language. It has simple C-like syntax, so if you are accustomed with C-like language (e.g. C, C++, C#, Java®), you might be able to custom this program.

After Launching

Windows and UI

The following two-windows will be launched. The left one is the input-window, and the right one is the graph-window.

The input-window(left) and the graph window(right)

Input an Expression to Plot

At first, please input an expression you want to plot into the text field labeled with "y(x) =" at the top of the input-window. There are some points to write the expression:

  • Use small character for "x".
  • Arithmetic operations such as "+" and "-" are available. However, some symbols of operators are different with handwriting expressions. Use "*" for multiplication, and use "/" for division.
  • Multiplication and division are prior in calculation order than addition and subtraction.
  • You can mathmatical functions such as "sin" and "cos" in the expression. The value of circle ratio is available as "PI" (capital character).
  • The exponentiation operator is "**". For example, x2 should be written as "x**2" in the expression.

Plot a Graph

After inputting the expression, please click "PLOT" button at the middle of the input-window, and the expression will be plot to the 2D graph.

The graph will be drawn as a lines-and-points* graph of "x-N" nodes. You can modify the value of "x-N" on the input-window. Larger value of "x-N" makes graph more smooth.

* If you plot lines-only graph, please see Other Features.

Plot new Expressions over the Current Graph

If you want to plot other expressions over the current graph, simply modify the expression of "y(x) =" text-field, and click again "PLOT" button. The new expression will be plotted over the current graph by using a different color.

Clear All Contents of the Current Graph

If you want to clear all contents of the current graph, please click "CLEAR" button at middle of the input-window.

Other Features

With the default settings, the graph will be plotted as a lines-and-points graph. If you want to plot a lines-only graph, please disable the checkbox of "With Points" from the "Option" menu at the top of the graph-window. In addition, if you want to change the width of lines, please disable and re-enable "With Lines" option, and you will be asked the line width.

You can modify other settings from "Edit" menu at the top of the graph-window, e.g. X & Y ranges of the graph, labels of X & Y axes, legends for each lines of the graph, etc.

You also can save settings and save the image of the current graph, from "File" menu at the top of the graph-window.

RINEARN Graph 2D
The 2D graph software "RINEARN Graph 2D" is used as the graph-window of this program. If you like UI and operability of the graph-window of this program, please try to use RINEARN Graph 2D for your data-analysis use.
» More Details

Code

This code is written in VCSSL.

License

The license of this VCSSL code (the file with the extension ".vcssl") is Public Domain (CC0), so you can customize / divert / redistribute this VCSSL code freely.


Sponsored Link



Japanese English
[ Prev | Index | Next ]
[an error occurred while processing this directive]
Sponsored Link

Index
[ Prev | Index | Next ]
[an error occurred while processing this directive]
Announcement (Twitter)

Sponsored Link