Re: error while displaying a line



Hi,

you are probably calling gtk_databox_auto_rescale?

That function calculates

(Pixel_max - Pixel_min)/(Value_max - Value_min)

This fails for a line parallel to the x axis (and would also fail for a line parallel to the y axis).

Of course it would be possible to "guess" a useful data range. The question is: What is the right heuristic, which seems natural for viewers at different values?

Solutions are welcome :-)


Regards,

Roland



z pekar gmail com wrote:
Hello,
I get an error while displaying a line (parallel to x-achse; y(x) = c)

gtk_databox_set_total_limits: assertion `left != right' failed

what could it be?
thank you
_______________________________________________
gtkdatabox-list mailing list
gtkdatabox-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkdatabox-list



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