Re: How to combine a graph and list of plotted values



I would look into the the gtkExtra package. I am just beginning to use it, but it appears to be able to solve your problem.

You might also try creating a dialog with a list widget and a drawing area in a packing box ...

cheers,
Jim Parker

On 2003.04.14 02:59 Neoklis Kyriazis wrote:
Hi all,

I am trying to port an app. from ncurses to GTK and I need to plot a
graph together with a list of the plotted values. In ncurses this is
done as follows: A list of values (satellite elevation and time)
listed
vertically, with a plot done by printing an asterix at a proportional
distance from zero. I suppose could do this by just printing in a text
view as in the ncurses app, but this would waste the GTK's potential
for
a nicer display so I would be thankful on any tips on how to go about
doing this using available GTK2 widgets.

Date  UTC         Elevation Plot
14Apr 06:48  0.0 *
14Apr 07:03  1.8    *
14Apr 07:18  3.6      *
14Apr 07:32  5.2         *
14Apr 07:47  6.7           *
14Apr 08:02  8.1             *
14Apr 08:17  9.3               *
14Apr 08:32 10.2                *
14Apr 08:47 10.9                  *
14Apr 09:01 11.2                  *
14Apr 09:16 11.1                  *
14Apr 09:31 10.3                 *
14Apr 09:46  8.5              *
14Apr 10:01  5.4         *
14Apr 10:16  0.0 *

My thanks in advance.

--
Regards

Neoklis    Ham Radio callsign: 5B4AZ  QTH Loc: KM64MR
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]