From: mrp@... Date: 2002-03-18T20:23:57+09:00 Subject: Re: how does gtk curve work? Massimiliano Mirra wrote: > I'm trying to initialize the curve in the Gtk::Curve widget. > I'd expect that the following code displayed a curve from 0,0 to 1,1, > slightly bent toward the middle. Well, it displays a set of point > whose connection with the given data I fail to see. Anyone knows what > am I missing? > curve.set_vector(3, [0,0, 0.5,0.3, 1,1]) try: curve.set_vector(6 , [0,0, 0.5,0.3, 1,1]) ^^ the initial number should be the number of items of data, rather than number of coordinate pairs. martin.