[PATCH] add graph window

2005-11-02 Thread Christian Neumair
The attached patch adds caps for opening a new window that just contains a graph to Gnumeric. caveats 1 we sometimes display scrollbars although it isn't aesthetically pleasing (fit to height/width). This is due to GtkScrolledWindow allocation issues. Without proper height-by-width management in

Re: [PATCH] add graph window

2005-11-02 Thread Christian Neumair
Am Mittwoch, den 02.11.2005, 15:42 +0100 schrieb Christian Neumair: +#define ZOOM_IN(x) *x = CLAMP(*x+1, ZOOM_LEVEL_25, ZOOM_LEVEL_200) +#define ZOOM_OUT(x) *x = CLAMP(*x-1, ZOOM_LEVEL_25, ZOOM_LEVEL_200) +#define ZOOM_100(x) *x = ZOOM_LEVEL_100 +#define ZOOM_FIT(x) *x = ZOOM_LEVEL_FIT

Re: operations on (X,Y) series

2005-11-02 Thread Jean Bréfort
Le mercredi 02 novembre 2005 à 16:51 +0100, Frederic Parrenin a écrit : Hi Jean, I would like to do various operations on (x_i,y_i) series in gnumeric, e.g.: - resampling, by simple interpolation or by integration, with a linear, spline or staircase interpolant - filtring by

Re: [PATCH] add graph window

2005-11-02 Thread Emmanuel Pacaud
Le mercredi 02 novembre 2005 à 15:42 +0100, Christian Neumair a écrit : 4 +w-zoom_factor 1.0 ? +w-height w-width * w-aspect_ratio : +w-height w-width * w-aspect_ratio)) is a bit fishy. However, I supposed that if one has an