hello
if i run the following code i get error message:
Interface HASH(0X25C224) is not known!
on windows xp activeperl 5.10

use PDL; use PDL::Graphics2D; #imports imag2d() and twiddle() #use PDL::Graphics::PGPLOT::Window; my $winopt = {Device => '/GW', WindowWidth => 7, Aspect => 1}; my $w = PDL::Graphics2D->new($winopt); $a = sequence(64,48,3); # make test RGB image $a = $a->mv(2,0); # color must be dim(0) with size [0..4] $a /= $a->max; # pixel values in [0.0,1.0] $a = sin(10*$a); $w = imag2d($a);

is this just special to windows os. i know imag2d is new, also PDL::Graphics2D

second question:
running any example such as the following one from the pdl book http://www.johnlapeyre.com/pdl/pdldoc/newbook/node6.html produce a nagging "close" small window above the draw window such as in this beautiful arrow image:
http://img716.imageshack.us/img716/3179/pdl.png
how to get rid from it
use PDL; use PDL::Graphics::PGPLOT; #my $win1 = dev('/GW', {Aspect => 1, WindowWidth => 7}); $x = xlinvals(zeroes(100,100), -5, 5); $y = ylinvals(zeroes(100,100), -5, 5); $z = sin($x*$y/2); imag $z; hold; #Show the partial derivatives wrt. x & y as vectors $xcomp = $x*cos($x*$y/2)/2; $ycomp = $y*cos($x*$y/2)/2; #We want to show only every sixth vector for clarity $s = '0:-1:10,0:-1:10'; #Finally we need to map the final 10x10 array to the 100x100 image $tr = pdl(0,10,0,0,0,10); vect $xcomp->slice($s), $ycomp->slice($s), {Transform=>$tr};
on the other hand the site http://cpan.uwinnipeg.ca/PPMPackages/10xx/contains opengl v 0.62 and PDL 2.4.7 while here http://www.perlmonks.org/?node=PDL-2.4.7+released syphilis said that it requires v. 0.63 . so i have downloaded it from http://www.bribes.org/perl/ppmdir.html
but here:http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_on_Windows it is said that PDL packages expect a static freeglut library and not a dynamic freeglut library .
thanks for any help

In reply to PDL questions by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.