Re: XY Plots
- From: John Coppens <jcoppens usa net>
- To: gtk-app-devel-list gnome org
- Subject: Re: XY Plots
- Date: Sun, 22 Jun 2003 21:36:30 -0300
On 22 Jun 2003 13:50:08 -0700
Rick Brice <Rick Brice attbi com> wrote:
Greetings. I'm new to this list and to programming for Gnome and GTK+ so
please forgive my ignorance.
After working through several tutorials, I'm working on my first
independent application. For this application I need a simple XY plot.
Would someone please guide me to the right widget for this?
Being a newbie, I don't know what details are important so I'll describe
my application as this. I built the UI in Glade. There are three panes
in the main application window. Pane 1 has input boxes and a button to
press to cause calculations to happen. Pane 2 is a tabular list of the
results. In Pane 3, I want to have an XY plot of the values in Pane 2.
Many thanks for your help.
Rick Brice
Hello Rick,
I think the easiest thing would be to use a GnomeCanvas item. It looks a
bit daunting at the beginning, but it really is the ideal solution. You
can use a drawing as a background, eg. with the axis and grid, then draw
with a GnomeCanvasItem of type Line, and draw your graph.
Find the GTK/Gnome Application Development manual (GGAD), there is a good
introduction to the use of the GnomeCanvas.
John
--
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]