Pdl Graphics Plplot Log


Commit Date  
[4d65c0] by Rafael Laboissiere Rafael Laboissiere

* Added interfaces for the API functions plsvect and plvect.

* Changed the definitions of the pltr0, pltr1, and pltr2 from pp_def to
pp_addxs. The pltr_data argument is passed now as a I32 Perl object,
which is casted to a PLPointer. The grid object that are usually pointed
by the pltr_data pointer can now be obtained by the newly created
plAllocGrid and plAlloc2dGrid. the use of PLcGrid and PLcGrid2d objects
in PLplot/PerlDL programs is now simplified and there ahs been a
substantial gain in speed.

2004-05-17 22:12:10 Tree
[883b87] by Rafael Laboissiere Rafael Laboissiere

Added pp_addxs interface for the PLplot API function plgdev, which returns
the name of the current driver as a string.

2004-05-14 13:00:18 Tree
[f0f86a] by Rafael Laboissiere Rafael Laboissiere

Added pp_def interfaces for the PLplot API functions plot3dc and plgriddata,
as well all definitions for the GRID_* constants. plenv0 prototype is added
to the input list of create_low_level.

With this additions, the example x21c.c of the PLplot distribution has been
fully ported to PerlDL.

2004-05-14 12:04:44 Tree
[ea3923] by Rafael Laboissiere Rafael Laboissiere

Added interfaces for PLplot API functions plstripa, plstripc, and plstripd.

2004-05-13 15:36:12 Tree
[e45ffd] by Rafael Laboissiere Rafael Laboissiere

* Implemented the API function plgver correctly, since the p_ver argument is
actually an output.

* Improved the behaviour of plGetCursor to closer mimic the corresponding C
function. Now, if no translation to world coordinates is possible, then
plGetCursor returns an empty hash.

2004-05-09 15:50:07 Tree
[7fa28c] by Rafael Laboissiere Rafael Laboissiere

Implemented interfaces for the API functions plxormod, plGetCursor, plgstrm,
and plmkstr using pp_addpm. Also, created low level constants for the PLK_*
definitions present in plevent.h

With this changes, the x20c.c example of the PLplot distribution has been
completely ported to PerlDL.

2004-05-05 18:00:04 Tree
[cb375d] by Rafael Laboissiere Rafael Laboissiere

Added interfaces for plimage.

2004-05-03 22:42:03 Tree
[632b90] by Rafael Laboissiere Rafael Laboissiere

Added interfaces for plmap and plmeridians.

2004-05-03 21:11:03 Tree
[9c296a] by Rafael Laboissiere Rafael Laboissiere

Added interfaces for plpoin3, plline3, and plpoly3, where the first
argument is deduced from the size of the piddles.

2004-05-03 09:03:35 Tree
[5208a8] by Rafael Laboissiere Rafael Laboissiere

Re-implemented the plshades interface, which now accepts subroutine pointer
arguments "defined" and "pltr". The "z" pdl matrix is column-dominant, as
is usual with the other functions.

The high-level function shadeplot, which uses plshades, is changed
accordingly, as well as the test t/plplot.t.

2004-05-02 21:34:01 Tree
[4ae467] by Rafael Laboissiere Rafael Laboissiere

Implemented PerlDL interface for the low-level fucntion plshade1. This allows
the example x15c.c in the PLplot sources to be fully ported to PerlDL.

With this addition, I generalized the *_callback/*_subroutine approach for
passing subroutine names/references to the PerlDL/PLplot API functions.
The plshade1 function needs three such subroutine arguments: defined, fill,
and pltr. For now, the fill argument is always passed as plfill to
c_plshade1. Inn part, the reason for doing so is that plfill is effectively
the only fill routine available in PLplot. Besides that, using a subroutine
which accepts piddle arguments (as the PerlDL plfill) would complicate the
code in pp_def('plshade1'). This may change in the future.

2004-03-18 19:08:44 Tree
[a9dcc9] by Douglas Burke Douglas Burke

fix to allow PLplot code to build on OS-X [fink]

2004-03-17 15:17:49 Tree
[9c7f1b] by Rafael Laboissiere Rafael Laboissiere

* Added a prolog to the FUNCTIONS section of the low-level API explaining
the differences between the C and the PDL APIs. The ultimate goal is to
make the man page for PDL::Graphics::PLplot a complete guide for users of
both the Doug's hi-level interface and the low-level API.

* Changed all the URLs plplot.sf.net -> www.plplot.org.

* Put the AUTHORS and SEE ALSO sections at the end of the POD, such that the
low-level FUNCTIONS section appears in the right place.

* Added my name as an author of the module.

[ N.B.: there is still much to be done to document the specificities of the
PDL API in comparison with the C API. This will be done progressively, as
time permits. ]

2004-03-17 07:29:18 Tree
[400d0b] by Rafael Laboissiere Rafael Laboissiere

Adjusted calls to plscmap1l to the new API. Also, added Local Variables
sections at the end of t/plplot.t, such that cperl mode is activated when
editing the file in Emacs.

2004-03-16 08:20:24 Tree
[5232d1] by Rafael Laboissiere Rafael Laboissiere

Defined low-level interfaces for plmesh, plmeshc, plot3d and plscmap1l in
which the size arguments are deduced from the piddles. Example x11.pl in
the PLplot sources is completely ported to PerlDL now.

2004-03-16 08:06:46 Tree
[f6eb74] by Rafael Laboissiere Rafael Laboissiere

OOps, restored $debug to 0. This slipped in my last commit.

2004-03-15 21:43:07 Tree
[b823e6] by Rafael Laboissiere Rafael Laboissiere

Implemented the low-level PLplot API functions pltr0, pltr1, pltr2, and
plcont. There is a way now to pass a reference to a Perl subroutine to the
plcont function, like this:

sub mypltr {
my ($x, $y, $grid) = @_;
# do transformations
return ($tx, ty);
}

plcont ($data, $ky, $lx, $ky, $ly, \&mypltr, $grid)

This closely mimics the plcont C API.

Example x09c.c from the PLplot sources has been fully ported to PerlDL now.

The conventions for the $grid piddle must be documented in plplot.pd. I
will do it as soon as I can. For now, I just added some 'Doc' place holders
in the pp_def's.

2004-03-15 15:52:42 Tree
[f85287] by Rafael Laboissiere Rafael Laboissiere

Define our own plstyl subroutine, where the first argument of c_plstyl (the
length of the mark and space vectors) is deduced from the piddle.

2004-03-13 15:20:41 Tree
[6e5f12] by Doug Hunt Doug Hunt

Added some features to PLplot interface, including:
-- User settable color range on 3D and point plots
-- More color maps

2004-03-13 00:11:07 Tree
[325e2d] by Rafael Laboissiere Rafael Laboissiere

In pp_def('plsurf3d'), does not declare the clevel input argument as an int
piddle since it is a PLFLT* in c_plsurf3d.

2004-03-11 13:16:41 Tree
[9e883e] by Rafael Laboissiere Rafael Laboissiere

Use the here-document operator (<<) for multi-line strings. This makes the
style of code more close to Doug's original style.

2004-03-11 13:09:10 Tree
[280b81] by Rafael Laboissiere Rafael Laboissiere

Added interface for the PLplot function plsurf3d. This has been tested with
the example x08.pl, recently added to the PLplot sources.

2004-03-09 00:26:15 Tree
[ce6595] by Rafael Laboissiere Rafael Laboissiere

Implement the constants #defined in plplot.h with pp_addxs and
pp_add_exported instead of pp_def.

2004-03-09 00:12:20 Tree
[1a5bfa] by Rafael Laboissiere Rafael Laboissiere

Implement the #define'd constants in plplot.h as functions in Perl, whose
pp_def's are automatically generated by the create_low_level_constants
function.

2004-03-08 22:34:41 Tree
[2497ba] by Douglas Burke Douglas Burke

added a blank line before a "=head2" line in docs

2004-03-07 19:33:54 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks