|
Hi, I am trying to figure how to use graphics and I am not understanding if there is a way to pass the device among different modules. The minimal inderstanding I have is that the device is accessed in different ways by different modules. So e.g. the Cartography module use this way: $w = pgwin('/GW')
$a = earth_coast()->glue(1,graticule(10,1));
$w->lines($a->apply(t_mercator)->clean_lines);
the PGPLOT use this:
the use PDL::Graphics::PGPLOT use this:
dev('/GW', {Aspect => 1, WindowWidth => 6});
and the PGPLOT this: pgbegin(0,"/GW",1,1); pgenv(1,10,1,10,0,0); pglabel('X','Y','My plot'); pgpoint(7,[2..8],[2..8],17); # etc... pgend; So it seems to me that the device cannot be shared and at a first glance, it is always a pgplot device but available only to the specific opener. Am I wrong? It seems quite limiting. --
Fabio D'Alfonso fax: +39.06.874.599.581 * Hidden numbers are automatically rejected by the phone |
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
