Glad to hear P::G::G is working for you! It was a Hell of a grind to get the Microsoft Windows support working.
On Feb 26, 2013, at 7:49 PM, Clifford Sobchuk <[email protected]> wrote: > No, the GrWin is 32 bit. The 64 bit I can't seem to find where the author > actually placed it. The GrWin.exe should itself work in 32 bit mode. I even > tried forcing XP compatibility. Didn't work even to open its own .bmp files - > it responds with invalid file. The window opens, however, that is just the Tk > part and the GrWin server doesn't actually seem to function. > > I also grabbed the Gnuplot 1.4 release from Github and it works!! For me > anyway. Again, I copied the PDL::Graphics::Gnuplot_demo to the Demos > directory. And then from inside the pdl2 shell I ran > "PDL::Demos::Gnuplot_demo::run()". All plots seemed to run, and the > interactive plots worked as far as I could tell - I performed data marking, > zooming and panning in 2-d and zoom and pan in 3-d multiframe. It isn't fast > in 3-d, but still usable. > > I can live without PGPLOT, I prefer to use Gnuplot anyway - I only have a few > scripts that need to be modified for the Gnuplot interface. > > Thanks, Cliff. > > -----Original Message----- > From: Chris Marshall [mailto:[email protected]] > Sent: February 26, 2013 7:24 PM > To: Clifford Sobchuk > Cc: Joel Berger; [email protected] > Subject: Re: [Perldl] Win64 version PDL > > Is the GrWin library 64bit? if not, that could explain your difficulties. > --Chris > > On Tue, Feb 26, 2013 at 9:20 PM, Clifford Sobchuk > <[email protected]> wrote: >> I think that the pgplot issues are due to GrWin. I tried using it >> standalone and it fails to open files. I am using the 0.999b version >> for the MinGW compiler (which I do have installed). >> >> >> Thanks, Cliff. >> >> >> >> From: Clifford Sobchuk [mailto:[email protected]] >> Sent: February 26, 2013 6:50 PM >> To: Joel Berger; [email protected] >> >> >> Subject: Re: [Perldl] Win64 version PDL >> >> >> >> Should have indicated that gnuplot worked for everything prior to the >> M51 Galaxy ConvolveND. Also, found that the Gnuplot_demo.pm was in the >> incorrect directory - went in to the Graphics directory versus the >> Demos directory (in case 1.4 has the same issue). >> >> >> >> Thanks, Cliff. >> >> >> >> From: Clifford Sobchuk >> Sent: February 26, 2013 6:46 PM >> To: 'Joel Berger'; [email protected] >> Subject: RE: [Perldl] Win64 version PDL >> >> >> >> I tried just installing the ppms any and some of it works. I ran the >> PGPLOT ppm even though it said it was for Win32 only. The following demos >> work: >> >> Pdl >> >> 3d >> >> 3d2 >> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> >> However, PGPLOT does not work. It responds with an error and exits >> pdl2 >> shell: >> >> ---- Output: >> >> Cannot execute grwnd.exe to open the graphics window. >> >> :tuptuO --- >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> >> But the GrWin window does open. As soon as the device opens, the shell >> closes. >> >> ---- Output: >> >> pdl> $id=dev('/gw') >> >> Cannot execute grwnd.exe to open the graphics window. >> >> >> >> C:\Users\eclisob\Desktop> >> >> :tuptuO --- >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> >> I installed the gnuplot install. 1.3 version that is on CPAN. And it >> was going well until : >> >> ---- Output: >> >> OOPS!!! Something went wrong, please make a bug report!: Can't locate >> object method "convolveND" via package "PDL" at (eval 493) line 5 >> >> . >> >> at (eval 493) line 5. >> >> eval 'package PDL::Demos::Gnuplot_demo; use PDL; >> >> >> >> $m51 = >> rfits(\'C:\\strawberry\\perl\\site\\lib\\PDL\\Demos/m51.fits\'); >> >> >> >> $m51s = $m51->convolveND(ones(21,21)/21**2); >> >> >> >> $w->options(clut=>\'heat2\', trid=>1); >> >> >> >> # 3-D display of M51: various angles (note "columnsfirst" in >> multiplot) >> >> >> >> $w->multiplot(layout=>[2,2,\'columnsfirst\']); >> >> >> >> $w->plot({title=>"M51 in 3-D (default view)"}, >> >> with=>\'pm3d\',xvals($m51), yvals($m51), $m51s, $m51 ); >> >> $w->plot({title=>"M51 in 3-D (ortho view)", view=>\'equal >> xy\'}, >> >> with=>\'pm3d\',xvals($m51), yvals($m51), $m51s, $m51 ); >> >> >> >> $w->plot({title=>"M51 in 3-D (near-vertical view)", view=>[ 0, 80, >> \'equal xy\' ]}, >> >> with=>\'pm3d\',xvals($m51), yvals($m51), $m51s, $m51 ); >> >> $w->plot({title=>"M51 in 3-D (nearly along X axis)", view=>[ 85, 5 ]}, >> >> with=>\'pm3d\',xvals($m51), yvals($m51), $m51s, $m51 ); >> >> >> >> $w->end_multi; >> >> >> >> >> >> ;' called at C:\strawberry\perl\site\lib/PDL/Demos/Screen.pm line 42 >> >> PDL::Demos::Routines::act('\x{a}\x{a} $m51 = >> rfits(\'C:\strawberry\perl\site\lib\PDL\Demos/m51...') called at >> C:\strawberry\p >> >> erl\site\lib/PDL/Demos/Gnuplot_demo.pm line 298 >> >> PDL::Demos::Gnuplot_demo::run() called at (eval 468) line 5 >> >> main::__ANON__() called at >> C:\strawberry\perl\site\lib/Lexical/Persistence.pm line 340 >> >> >> Lexical::Persistence::call('Lexical::Persistence=HASH(0x4f4a350)', >> 'CODE(0x5f44920)') called at C:\strawberry\perl\site\lib/Lex >> >> ical/Persistence.pm line 384 >> >> Lexical::Persistence::__ANON__() called at >> C:\strawberry\perl\site\lib/Devel/REPL.pm line 134 >> >> eval {...} called at C:\strawberry\perl\site\lib/Devel/REPL.pm >> line >> 134 >> >> >> Devel::REPL::execute('Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0x >> 375d7f8)', >> 'CODE(0x5f3dcd8)') called at C:\strawberry\per >> >> l\vendor\lib/Class/MOP/Method/Wrapped.pm line 56 >> >> >> Class::MOP::Method::Wrapped::__ANON__('Moose::Meta::Class::__ANON__::S >> ERIAL::20=HASH(0x375d7f8)', >> 'CODE(0x5f3dcd8)') called at >> >> C:\strawberry\perl\vendor\lib/Class/MOP/Method/Wrapped.pm line 91 >> >> >> Moose::Meta::Class::__ANON__::SERIAL::6::execute('Moose::Meta::Class:: >> __ANON__::SERIAL::20=HASH(0x375d7f8)', >> 'CODE(0x5f3dcd8)') >> >> called at C:\strawberry\perl\site\lib/Devel/REPL/Plugin/LexEnv.pm line >> 47 >> >> Class::MOP::Class:::around('CODE(0x3e56b90)', >> 'Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0x375d7f8)', >> 'CODE(0x5f44920)') ca >> >> lled at C:\strawberry\perl\vendor\lib/Class/MOP/Method/Wrapped.pm line >> 162 >> >> >> Class::MOP::Method::Wrapped::__ANON__('Moose::Meta::Class::__ANON__::S >> ERIAL::20=HASH(0x375d7f8)', >> 'CODE(0x5f44920)') called at >> >> C:\strawberry\perl\vendor\lib/Class/MOP/Method/Wrapped.pm line 91 >> >> >> Moose::Meta::Class::__ANON__::SERIAL::15::execute('Moose::Meta::Class: >> :__ANON__::SERIAL::20=HASH(0x375d7f8)', >> 'CODE(0x5f44920)' >> >> ) called at C:\strawberry\perl\site\lib/Devel/REPL.pm line 112 >> >> >> Devel::REPL::eval('Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0x375 >> d7f8)', >> 'PDL::Demos::Gnuplot_demo::run();') called at C:\ >> >> strawberry\perl\site\lib/Devel/REPL/Plugin/Packages.pm line 45 >> >> Class::MOP::Class:::around('CODE(0x34d35f8)', >> 'Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0x375d7f8)', >> 'PDL::Demos::Gnuplot_ >> >> demo::run();') called at >> C:\strawberry\perl\vendor\lib/Class/MOP/Method/Wrapped.pm line 162 >> >> >> Class::MOP::Method::Wrapped::__ANON__('Moose::Meta::Class::__ANON__::S >> ERIAL::20=HASH(0x375d7f8)', >> 'PDL::Demos::Gnuplot_demo::ru >> >> n();') called at >> C:\strawberry\perl\vendor\lib/Class/MOP/Method/Wrapped.pm >> line 91 >> >> >> Moose::Meta::Class::__ANON__::SERIAL::6::eval('Moose::Meta::Class::__A >> NON__::SERIAL::20=HASH(0x375d7f8)', >> 'PDL::Demos::Gnuplot_ >> >> demo::run();') called at C:\strawberry\perl\site\lib/Devel/REPL.pm >> line 72 >> >> >> Devel::REPL::formatted_eval('Moose::Meta::Class::__ANON__::SERIAL::20= >> HASH(0x375d7f8)', >> 'PDL::Demos::Gnuplot_demo::run();') cal >> >> led at C:\strawberry\perl\site\lib/Devel/REPL.pm line 62 >> >> >> Devel::REPL::run_once('Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0 >> x375d7f8)') called at C:\strawberry\perl\site\lib/Devel/R >> >> EPL.pm line 45 >> >> >> >> Thanks, Cliff. >> >> >> >> From: Joel Berger [mailto:[email protected]] >> Sent: February 26, 2013 5:19 PM >> To: Clifford Sobchuk >> Subject: Re: [Perldl] Win64 version PDL >> >> >> >> I suspect that the PDL install information on Strawberry is out of >> date. Why don't you try it and let us know. :-) >> >> >> >> Joel >> >> On Tue, Feb 26, 2013 at 4:17 PM, Clifford Sobchuk >> <[email protected]> wrote: >> >> Hi folks, I just got a brand spankin new win7 (64 bit) machine for >> work. I have already installed Strawberry Perl 5.14.3 64 bit, however, >> now that I want to install PDL again I am not sure how to install it. Using >> "Get PDL" >> link and selecting easiest leads me to believe that I should uninstall >> Strawberry and install ActiveState Perl if I wish to remain on the 64 >> bit platform. Does Strawberry Perl 64 bit really not work, or can I >> try to use the same ppd files that are listed for Win32 Strawberry and >> Win32/64 ActiveState Perl? >> >> >> >> Clifford Sobchuk >> >> >> >> Office: 613.667.1974 ECN:8109.71974 >> >> Mobile: 403.819.9233 >> >> [email protected] >> >> >> >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >> >> >> >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >> > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
