It is a hard limit in the PGPLOT source, see src/pgplot.inc in the
PGPLOT distribution. You can also see this with something like
perl -MPGPLOT -le 'while(1) { print $d = pgopen("/xw"); exit if $d <= 0 }'
>From src/pgplot.inc, (see also GRIMAX in src/grpckg1.inc)
C-----------------------------------------------------------------------
C Maximum number of concurrent devices (should match GRIMAX).
C-----------------------------------------------------------------------
INTEGER PGMAXD
PARAMETER (PGMAXD=8)
> Hi All,
>
> I'm trying to open a whole bunch of plot windows from a script... but
> I'm running into some hardcode limit of open windows of 10.
>
> I get the following error:
>
> %PGPLOT, Too many active plots.
> PDL: Opening new window (pgopen) failed: -1
>
> Is there some environment variable somewhere that might generously
> allow me to open 20 windows at a time? I promise I won't crash my
> computer.
>
> Cheers,
> David
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl