Dear All,
I like to save some pictures as are currently displayed on the screen into a
"jpeg" file and then continue with plotting to the screen.
I tried to do it as follows :
call plgstrm(i1)
call plmkstrm(i2)
call plsfnam('tmp.jpg')
call plsdev('jpeg')
call plcpstrm(i1,.false.)
call plreplot
call plend1
call plsstrm(i1)
But as soon as I start plotting again the program crashes with a segmentation
violation.
Using "valgrind" on this, it looks like "plend1" frees the plot buffer of the
main stream. Removing "plend1" indeed let me continuing plotting, but then at
the end, the call to "plend" gives me errors from "glibc" about corrupted
links. Moreover by not calling "plend1" I think a lot of memory will be wasted.
Is the way as described above for creating an intermediate "jpeg" file valid or
do I have to follow another route ?
Any help is appreciated.
Thanks,
Hans Rijneke.
Shell International Exploration and Production B.V.
The Hague, The Netherlands - Trade Register no. 27002688
Address: Kessler Park 1, 2280 GS Rijswijk, The Netherlands
(: +31 070 447 2737
*: <mailto:[EMAIL PROTECTED]>
6: <http://www.shell.com/eandp-en>
Disclaimer of Liability:
This message, any attachment and response string are confidential and may be
legally privileged. It is intended only for the use of the parties to whom it
is addressed. If you are not the addressee indicated in this message please
notify the sender immediately by reply email and destroy this message.
All information and attachments remain the property of Shell
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general