Subject: | Missing Functions from PDL::Graphics::PLplot |
Description From Bill Adams (badams@tqs.com ) 2008-09-10 14:08:35 EDT
Description of problem:
plgvpd and plgvpw are missing from the PDL::Graphics::PLplot interface.
Version-Release number of selected component (if applicable):
perl-PDL-2.4.3-12.fc9
How reproducible:
Every time.
Steps to Reproduce:
perl -MPDL::Graphics::PLplot -e 'my ($x1, $x2, $y1, $y2) =
(PDL->new(0),PDL->new(0),PDL->new(0),PDL->new(0)); plgvpw($x1, $x2, $y1,
$y2);'
Actual results:
Undefined subroutine &main::plgvpw called at -e line 1.
Expected results:
No error.
Additional info:
Patch attached.
Subject: | perl-PDL-2.4.3-missingfnc.patch |
--- PDL-2.4.3-orig/Graphics/PLplot/plplot.pd 2005-05-03 07:19:47.000000000 -0700
+++ PDL-2.4.3/Graphics/PLplot/plplot.pd 2008-09-10 09:54:41.000000000 -0700
@@ -1932,6 +1932,8 @@
void c_plgpage(PLFLT *p_xp, PLFLT *p_yp,PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff);
void c_plgra(void);
void c_plgspa(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax);
+void c_plgvpd(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax);
+void c_plgvpw(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax);
#void c_plgstrm(PLINT *p_strm);
#void c_plgver(char *p_ver);
void c_plgxax(PLINT *p_digmax, PLINT *p_digits);