|
From: Victor M. <vm...@ma...> - 2001-12-19 14:15:42
|
> Did anyone respond to this? I am getting caught up with email after letting
> it slide for a few weeks.
No, as far as I know.
> > I decided to add a constructor to the plstream class, so that something
> > like plstream pls(1,1,"psc","tres.ps") works, and consequently
> > automatically opens an output file. I had to recompile the libraries, but
> > it worked. If someone knows of a better or easier solution, or if someone
> > thinks this is a good feature to include in future versions, I'd be glad
> > to know.
>
> Sounds like a good constructor to have. If you supply a patch, it will be
> included.
Here are the added lines:
In plstream.h, I added the following public constructor:
plstream( int nx /*=1*/, int ny /*=1*/, const char *driver,
const char *file);
In plstream.cc:
plstream::plstream( int nx, int ny, const char *driver, const char *file )
{
::c_plsstrm(next_stream++);
::c_plsdev(driver);
::c_plsfnam(file);
::c_plssub( nx, ny );
::c_plinit();
::c_plgstrm( &stream );
active_streams++;
}
Thanks for your reply. Regards,
Victor
|