Hi,
I think that the support for output to images is relevant, mainly
for research and paper production, but to the appeal for new users
the on screen capabilities matter much more.
That is because it is that 'natural' output device in an interactive
analysis of data. Printed versions will be the finalized output,
intended for print.
I think that the support from pgplot and plplot is quite good,
considering the value of a picture based on the the value of data
represented, as in in general in Science. In a common usage, or
before "the discovery" the ability to get ready and with a friendly
startup can make some difference.
I actually do not know the story of grwnd.exe. It is relevant that
it allows pgplot working on windows. I was just thinking that a
boundary as the graphic output could benefit from a more rock solid
component, being what the user first sees.
At a mixed linux/windows user could show as a patch.
On 1/16/2012 1:46 PM, Sisyphus wrote:
----- Original Message ----- From: "Fabio D'Alfonso"
<[email protected]>
To: "Sisyphus" <[email protected]>
Cc: <[email protected]>
Sent: Monday, January 16, 2012 8:21 PM
Subject: Re: [Perldl] PLPlot on Windows/XMing - PLPLOT_LIB Solved
Hi,
solved, that was the PLPLOT_LIB to be set.
Phew !!
The need to set PLPLOT_LIB is documented ... but very easy to miss
:-)
Thanks
No problem.
I personally don't use either PDL::Graphics::PGPLOT or
PDL::Graphics::PLplot but, despite the appearance of the unwelcome
pop-up box, I was struck by the simplicity of:
######################
use warnings;
use PDL;
use PDL::Graphics::PGPLOT;
$a = rfits("m51.fits");
dev($^O =~ /MSWin32/ ? '/GW' : '/XSERVE');
imag $a;
######################
Can the same be displayed in the plplot graphics window ? ....
that is, with a script of comparable simplicity ?
Personally, for that particular script (and using
PDL::Graphics::PGPLOT), I think I would replace
dev($^O =~ /MSWin32/ ? '/GW' : '/XSERVE');
with
dev($^O =~ /MSWin32/ ? '/PNG' : '/XSERVE');
and then view the resultant png file. (No pop-ups at all.)
Fabio, as far as I can tell, there's no easy way of avoiding that
pop-up on Windows whenever a script that uses the grwnd.exe exits.
The best I could do is provide a grwnd.exe whose pop-up provides
an option for "closing"/"not closing" the grwnd.exe window. (I
think that such a grwnd.exe exists, though I haven't located it
yet.)
The grwnd.exe that's currently provided by the 32-bit PGPLOT ppm
package can only "close" the window ... the "do not close" option
is missing :-(
Cheers,
Rob
|
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl