Hi,
thanks for this update.
I am waiting for an on site Dell technician for my notebook that failed on friday, to make a run.

I was waiting to reply for that but I no longer want to wait to thanks for the update in the software
I think I will be able to run the new version in 3-4 hours.

Thanks
Fabio D'Alfonso
Il 2012-10-22 05:30 Sisyphus ha scritto:
----- Original Message ----- From: "Fabio D'Alfonso" <[email protected]>
To: <[email protected]>
Sent: Monday, October 08, 2012 5:17 AM
Subject: [Perldl] Helix Example Does Not Work on Windows


Hi,
this example does not work on Windows.
The console comes but the gnuplot does not.
Thanks

use PDL;
use PDL::Graphics::Gnuplot;
my $pi    = 3.14159;
my $theta = xvals(201) * 6 * $pi / 200;
my $z     = xvals(201) * 5 / 200;

gplot( {'3d' => 1, title => 'double helix'},
{with => 'linespoints pointsize variable pointtype 2 palette',
      legend => ['spiral 1','spiral 2']} ,
      pdl( cos($theta), -cos($theta) ),       # x
      pdl( sin($theta), -sin($theta) ),       # y
      $z,                                     # z
      (0.5 + abs(cos($theta))),               # pointsize
      sin($theta/3),                          # color
      {with=>'points pointsize variable pointtype 5'},
      zeroes(6),                         # x
      zeroes(6),                         # y
      xvals(6),                          # z
      xvals(6)+1,                        # point size
      {size=>'xyz equal'}
);
--


This now works fine for me with version 1.2 (or later) of
PDL::Graphics::Gnuplot.

Let us know if that code still poses a problem for you - or if you
strike other scripts that don't work as they should..

Cheers,
Rob


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

Reply via email to