ANNOUNCE: GtkPlot-2.0
- From: Adrian Feiguin <feiguin ifir ifir edu ar>
- To: gtk-list redhat com
- Subject: ANNOUNCE: GtkPlot-2.0
- Date: Mon, 28 Jun 1999 10:54:41 +0000 (GMT)
GtkPlot
=======
GtkPlot is a widget for GTK+. It allows to draw high quality scientific
plots in two dimensions with a look and feel very similar to Microcal
Origin for Windows. The distribution includes GtkPlotLayout, a simple
GtkLayout subclass, and a demo program showing two layered plots
with different kind of curves. You can choose between a number
of symbol types, lines, connectors -straight lines, steps, splines-, and
change their attributes -color, size, width-. You can also plot functions,
add error bars, edit legends, rotate and move axis titles, change axis
properties, etc.
GtkPlot-2.x includes a GtkPlotCanvas widget which allows DnD plots, points, and
child objects (text, axis titles). You can move them or resize your plots
dragging with the mouse!
You can download the package from:
ftp://ripley.ifir.edu.ar/pub/gtk
This library is distributed under the LGPL License.
GtkPlot-2.0
===========
Sorry for not being very explicit, but I'll describe only a summary of
the latest changes because is difficult to keep track of all of them.
To move from 1.x to 2.x you'll have to change some few function calls
concerning to the attributes settings. It's easy to realize the changes
during compilation time, just take a look at the headers when you get an error.
- New GtkPlotCanvas widget which allows DnD. See demo.
- Lots of changes in internal routines for optimization and versatility.
- Changed some function calls.
Sometimes you'll need to give a GdkColor * value. If you set NULL,
means using defaults: black for foregrounds and transparent for backgrounds.
If you set gc == NULL, means using default gc.
- New functions added.
gtk_plot_refresh,
gtk_plot_show_labels,
gtk_plot_layout_put_text,
etc, etc.
- typedef GtkPlotFunc for drawing functions.
- New signals: plot->moved, plot->resized.
Your signals handlers must return TRUE if you want the changes
to be accepted. Same is valid for GtkPlotCanvas signals.
- Some minor bugfixes.
gtk_plot_put_text. (I recommend gtk_plot_layout_put_text, instead).
Fixed rounding errors in axis, ticks marks, and grids drawing routines.
- New demo program.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]