1 |
Alan Jackson wrote: |
2 |
> Sounds like you want ggobi or Rggobi |
3 |
> |
4 |
> http://www.ggobi.org/ |
5 |
> http://www.ggobi.org/rggobi/ |
6 |
> |
7 |
> On Sat, 07 Jul 2007 10:04:15 -0700 |
8 |
> "M. Edward (Ed) Borasky" <znmeb@×××××××.net> wrote: |
9 |
> |
10 |
>> Matías Graña wrote: |
11 |
>>> Hi; I'm doing some easy 3D plotting these days and I've come to this |
12 |
>>> situation. I just need to plot a few dots in 3D-space. I've been using |
13 |
>>> gnuplot for this, as it allows to rotate the picture with the mouse, |
14 |
>>> giving a good impression of where the dots actually are. |
15 |
>>> So far so good, but now I want it to interact with the python code I use |
16 |
>>> to compute the position of the dots. There's gnuplot-py for this, but it |
17 |
>>> seems to have the problem that once it launches a window, gnuplot does |
18 |
>>> not listen to mouse clickings on it. So I can tell my python program to |
19 |
>>> draw the dots, but then I can't rotate them as I could within a gnuplot |
20 |
>>> session. |
21 |
>>> |
22 |
>>> So, I'm looking to either |
23 |
>>> a) a way to have an interaction between gnuplot and python, or |
24 |
>>> b) another program/library that can be launched from python and able to |
25 |
>>> plot 3D dots and rotate them with the mouse. |
26 |
>>> |
27 |
>>> Any insight or advice is welcome. |
28 |
>>> |
29 |
>>> Thanks, |
30 |
>>> Matías |
31 |
>> There are oodles of scientific interfaces to Python. I'm guessing there |
32 |
>> is at least one that will do this. I'm not a Pythonista, however, I'm a |
33 |
>> Rubyist, so I can't give you any names, or tell you whether what you |
34 |
>> want to do is in Portage or not. One you might want to check is Sage |
35 |
>> (http://sagemath.org/). Another is StatPy |
36 |
>> (http://www.astro.cornell.edu/staff/loredo/statpy/) |
37 |
>> |
38 |
>> However, this is a very common mode of interaction in exploratory data |
39 |
>> analysis, and just about every statistics package out there can do this. |
40 |
>> xlisp-stat used to be in Portage, but it's in Lisp. And R is in Portage |
41 |
>> for sure and is what *I* use to do this sort of thing. If you don't mind |
42 |
>> learning another language, I'd recommend R. |
43 |
>> |
44 |
>> There is supposedly an R-Python interface available, but since I don't |
45 |
>> know Python, I've never bothered to check it out. If you want to go this |
46 |
>> way, do a Google search for "RSPython". |
47 |
>> -- |
48 |
>> gentoo-science@g.o mailing list |
49 |
> |
50 |
> |
51 |
I haven't been able to get them to build ... is ggobi even in Portage?? |
52 |
-- |
53 |
gentoo-science@g.o mailing list |