----- Original Message ----- 
From: "bilal malik" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Wednesday, April 28, 2010 6:46 AM
Subject: PGPLOT Query


Hello Dear,I am attempting to use PGPLOT on WindowsXP for plotting few 
graphs.It is working on Linux But when I use same script on Windows.I get 
the following error.After searching Google I found your thread discussing 
about PGPLOT.I wonder if you could please suggest what I need to do to get 
it
 working.I am using XAMPP as for as perl is concerned.
%PGPLOT, PGENV: no graphics device has been selected %PGPLOT, PGBBUF: no 
graphics device has been selected %PGPLOT, PGMTXT: no graphics device has 
been selected %PGPLOT, PGMTXT: no graphics device has been selected %PGPLOT, 
PGMTXT: no graphics device has been selected %PGPLOT, PGEBUF: no graphics 
device has been selectedThanks,Bilal

=========================================

Try setting the PGPLOT_DEV environment variable to /PNG
set PGPLOT_DEV=/PNG

That should send the output to a png file.
You might also be prompted for the fonts file. That can be done using the 
PGPLOT_FONT environment variable:
set PGPLOT_FONT=C:\pgplot\bin\grfont.dat
(or wherever you've placed grfont.dat)

Cheers,
Rob



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to