comp.lang.ada
 help / color / mirror / Atom feed
* ANN: Ada bindings to PLplot plotting software
@ 2009-01-02 23:31 Jerry
  2009-01-03  0:34 ` Georg Bauhaus
  0 siblings, 1 reply; 6+ messages in thread
From: Jerry @ 2009-01-02 23:31 UTC (permalink / raw)


This is to announce the official availability of the Ada language
bindings to the plotting package PLplot as of version 5.9.1. See the
home page at http://plplot.sourceforge.net/. Available unofficially
for some time, the Ada bindings are now enabled by default.

PLplot is an actively developed project at SourceForge and should be
considered for high quality publication-grade plotting. It is a
linkable library and thus potentially faster than some other packages,
not requiring writing data to a file before plotting.

From the PLplot home page:
"PLplot is a cross-platform software package for creating scientific
plots. To help accomplish that task it is organized as a core C
library, language bindings for that library, and device drivers which
control how the plots are presented in non-interactive and interactive
plotting contexts."

"The PLplot core library can be used to create standard x-y plots,
semi-log plots, log-log plots, contour plots, 3D surface plots, mesh
plots, bar charts and pie charts. Multiple graphs (of the same or
different sizes) may be placed on a single page, and multiple pages
are allowed for those device formats that support them."

The Ada bindings offer a number of substantial improvements over the C
API, including a choice of binding, one using "traditional" PLplot
names such as plcol0(1) to set the pen color to red, the other using
"Ada-friendly" names such as Set_Color(Red).

The Ada bindings are extended to offer a host of "simple plotters"
that do not require user set-up and will suffice for many day-to-day
plotting needs. Here is an example:

  with
      PLplot_Auxiliary,
      PLplot;
  use
      PLplot_Auxiliary,
      PLplot;

  procedure Simple_Example is
      x, y : Real_Vector(-10 .. 10);
  begin
      for i in x'range loop
          x(i) := Long_Float(i);
          y(i) := x(i)**2;
      end loop;

      Initialize_PLplot; -- Call this only once.
      Simple_Plot(x, y); -- Make the plot.
      End_PLplot;        -- Call this only once.
  end Simple_Example;

There is also extensive Ada-specific documentation.


Platforms Supported:
  Linux, Mac OS X, and other Unices
  Windows (2000, XP and Vista)
  MS-DOS (DJGPP)

Output File Formats:
  CGM
  GIF
  JPEG
  LaTeX
  PBM
  PDF
  PNG
  PostScript
  SVG
  Xfig

Interactive Platforms:
  X
  GNOME
  Tcl/Tk
  PyQt
  wxWidgets

Language Bindings:
  Ada
  C/C++/D
  Fortran 77/90
  Java
  OCaml
  Octave
  Perl
  Python
  Tcl/Tk
  wxWidgets


Jerry Bauck



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-07 22:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-02 23:31 ANN: Ada bindings to PLplot plotting software Jerry
2009-01-03  0:34 ` Georg Bauhaus
2009-01-05 23:15   ` Jerry
2009-01-06  7:56     ` Jerry
2009-01-07 22:32       ` Georg Bauhaus
2009-01-06  7:59     ` Jerry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox