slang module
- From: Laurent Perez <laurent perez unicaen fr>
- To: gtkdatabox-list gnome org
- Subject: slang module
- Date: Tue, 4 Dec 2007 14:07:46 +0100
Hello all,
I uploaded slgtkdatabox [1] a S-Lang [2] module for GtkDatabox.
S-Lang is a multi-platform C library, providing, among other things, a
powerfull interpreter. S-Lang shell (slsh) has a C-like syntax and
support array-based operations, such as "X" beeing a vector
"function (X)" return a vector.
Wrapper has been written so that one can easily plots arrays.
...snip...
x = [-PI:PI:PI/1000];
graph = gtk_databox_lines_new (x, sin (x), gdk_green, 0);
...snip...
Regards ;
Laurent.
Références :
¯¯¯¯¯¯¯¯¯¯¯¯
[1] http://laurent.perez2.free.fr/comp/slang/modules/modules.html
[2] http://www.s-lang.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]