When using PGPLOT::Window.pm, the option DirAxis is only processed
when the Pitch or Pix option is also present.  It should be available
in other situations as well - I'm using it for a color-magnitude
diagram that I need to be autoscaled, but magnitude needs to be
inverted.

My quickfix for the problem was to change line 3944 of Window.pm from
   } elsif($have_pitch_and_pix) {
to
   } elsif($have_pitch_and_pix || defined $o->{DirAxis}) {

This seems to have had the desired effect, but I can't guarantee it
didn't do something else weird.

Adam

perldl -V
perlDL shell v1.33
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.

Summary of my PDL configuration

VERSION: PDL v2.4.3 (supports bad values)

$%PDL::Config = {
                 'BADVAL_PER_PDL' => '0',
                 'OPENGL_DEFINE' => '-DGL_GLEXT_LEGACY -DGL_GLEXT_LEGACY',
                 'WITH_PROJ' => undef,
                 'FFTW_TYPE' => 'double',
                 'FFTW_LIBS' => [
                                  '/lib',
                                  '/usr/lib',
                                  '/usr/local/lib'
                                ],
                 'WITH_FFTW' => '0',
                 'GSL_LIBS' => undef,
                 'GL_BUILD' => '1',
                 'WITH_IO_BROWSER' => '1',
                 'PROJ_INC' => undef,
                 'WHERE_PLPLOT_INCLUDE' => undef,
                 'WITH_KARMA' => '0',
                 'WHERE_KARMA' => undef,
                 'HTML_DOCS' => '1',
                 'WHERE_PLPLOT_LIBS' => undef,
                 'WITH_3D' => '1',
                 'OPENGL_INC' => '-I/usr/include/GL/',
                 'FFTW_INC' => [
                                 '/usr/include/',
                                 '/usr/local/include'
                               ],
                 'WITH_POSIX_THREADS' => '1',
                 'HIDE_TRYLINK' => '1',
                 'WITH_HDF' => undef,
                 'HDF_INC' => undef,
                 'WITH_BADVAL' => '1',
                 'OPENGL_LIBS' => '-L/usr/lib/ -L/usr/local/Mesa/lib
-lGL -lGLU -lXext -lX11',
                 'WITH_GD' => undef,
                 'FITS_LEGACY' => '1',
                 'WITH_SLATEC' => '1',
                 'BADVAL_USENAN' => '0',
                 'TEMPDIR' => '/tmp',
                 'PROJ_LIBS' => undef,
                 'GD_LIBS' => undef,
                 'GSL_INC' => undef,
                 'GD_INC' => undef,
                 'WITH_GSL' => undef,
                 'OPTIMIZE' => undef,
                 'HDF_LIBS' => undef,
                 'MALLOCDBG' => {},
                 'WITH_PLPLOT' => '1'
               };
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
 Platform:
   osname=linux, osvers=2.6.15.7, archname=i486-linux-gnu-thread-multi
   uname='linux rothera 2.6.15.7 #1 smp tue jun 27 18:34:43 utc 2006
i686 gnulinux '
   config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.8.8
-Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm
-Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=n, bincompat5005=undef
 Compiler:
   cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-O2',
   cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include'
   ccversion='', gccversion='4.1.2 20060613 (prerelease) (Ubuntu
4.1.1-2ubuntu5)', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='cc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
   perllibs=-ldl -lm -lpthread -lc -lcrypt
   libc=/lib/libc-2.4.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
   gnulibc_version='2.4'
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
   cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

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

Reply via email to