Hi Folks, I am trying to use the PGPlot.pm (win32 for perl 5.10) from the Winnipeg repository on ASPerl 5.10 Build 1004 for PDL::Graphics::PGPLOT. I am not sure if I have all of the requirements or not. I do have the grwnd.exe and grfont.dat files in my perl directory and I have set the environment variables for them as per a thread on PDL::TriD between Sina Türeli and Sisyphus from 08 Jul 2008: set PGPLOT_DEVICE=/PNG set DISPLAY=1 set PGPLOT_FONT=C:\perl\bin\grfont.dat
But when I try to use imag I always get the following error and I have to
ctrl-c to get out of it as it won't accept any of the inputs (from /GW to /PNG).
code snippet:
perldl> imag (sin(rvals(200,200)+1))
Graphics device/type (? to see list, default /NULL): /PNG
%PGPLOT, Unrecognized device type
%PGPLOT, Invalid device specification: /PNG
Graphics device/type (? to see list, default /NULL): /GW
%PGPLOT, Unrecognized device type
%PGPLOT, Invalid device specification: /GW
Graphics device/type (? to see list, default /NULL): ?
PGPLOT v5.2.2 Copyright 1997 California Institute of Technology
Interactive devices:
/GW (grwnd.exe on Win32)
/CGW (grwnd.exe on Win32; colors compatible with /CPS)
Non-interactive file formats:
/GIF (Graphics Interchange Format file, landscape orientation)
/VGIF (Graphics Interchange Format file, portrait orientation)
/NULL (Null device, no output)
/PNG (Portable Network Graphics file)
/TPNG (Portable Network Graphics file - transparent background)
/PS (PostScript file, landscape orientation)
/VPS (PostScript file, portrait orientation)
/CPS (Colour PostScript file, landscape orientation)
/VCPS (Colour PostScript file, portrait orientation)
Graphics device/type (? to see list, default /NULL): /NULL
%PGPLOT, Unrecognized device type
%PGPLOT, Invalid device specification: /NULL
Graphics device/type (? to see list, default /NULL):
The only way I can get out of the loop is to hit ctrl-c.
I can start grwnd up from a cmd prompt, so I know that it is in the path. Is
there something else that I need to install or is this a bug? Do I need to
install PGPLOT as well? I was reading the site
http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/make.html
<http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/make.html> regarding "How to
build GrWin/PGPLOT executables", but in my understanding of that page and the
reference page
http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/contrib/pgplot/
<http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/contrib/pgplot/> "GW driver
for PGPLOT (Rel. 1.5.0)" if I have grwnd.exe I have all that I need.
Do I need to install something else or am I missing some configuration?
Thanks,
Cliff Sobchuk
Core RF Field Support Engineer
Phone: (403) 769 2063 / ESN 758
Confidentiality Notice:This message and any attachments may contain information
that is privileged and confidential. If you have reason to believe that you are
not the intended recipient or a person responsible for delivering this message
to an intended recipient, you are hereby notified that any review,
dissemination, distribution, or copying of this message is strictly prohibited.
If you have reason to believe that you are not the intended recipient or a
person responsible for delivering this message to an intended recipient, please
contact the sender immediately by reply email and destroy all copies of the
original message.
<<emailsig_static_orange.gif>>
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
