Hi Thomas,
If I understand you correctly, you are looking for an on-screen device that
displays the results, drops out of the event loop to allow the program to
continue and does not close, so that later on you can resume the plotting. (As
I do not know PGPLOT, I want to make sure I understand it.) plspause() will do
that indeed, but the graphics buffer may get in the way.
Try using plflush() at the end of drawing the graph. I have not tried it, but I
think that will help.
Regards,
Arjen
From: Thomas Marsh [mailto:t.r.ma...@warwick.ac.uk]
Sent: Thursday, May 01, 2014 9:46 AM
To: plplot-general@lists.sourceforge.net
Subject: [Plplot-general] Does plplot have an equivalent of PGPLOT's /xserve
device?
Hello, I am new to plplot, but I am trying to check it for a number of
applications I have in mind within C++ and Python codes as a replacement for
PGPLOT which I have used for years. I am starting with the Python binding to
explore plplot's features. The interactive device I use most of all with PGPLOT
is "/xserve" which allows you to generate a plot that persists after a program
/ script exits and returns control to the terminal. I use this feature all the
time. Within long running programs, it allows me to generate plots which I can
look at while the program continues doing something else. With plplot's xwin or
tk, I can get a plot that persists, but it seems to block until I have actively
quitted it. I experimented with calling plspause(False) just before plend but
then the plot just flashes briefly with tk and does not appear at all with xwin.
I feel I am missing something obvious, but haven't found it yet. Thanks in
advance for any help,
tom
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general