On 2014-05-01 09:49+0100 Thomas Marsh wrote:

> [...]What I want to do is not quite
> as you summarise; sorry for not being clear. Its not so much that I want to
> resume plotting -- I imagine plflush would be good for this -- but I want
> the plot to finish but then to persist and not simply disappear. I
> sometimes have multiple such plots in windows on my screen, potentially
> produced by independent scripts. When I am done with them I can click the
> "X" at the top-right to get rid of them. I have not managed to replicate
> this way of working with plplot.
[...]

Hi Tom:

I have been following your conversation with Arjen with interest, and
I think what you describe above is exactly what we provide.  But I
might be interpreting what you said above incorrectly so let me make
clear what we provide with an exact example.

In the build tree, if I build the xwin device and one of the simplest
examples with the following commands:

# Create xwin device and all its dependencies
make xwin
# Create a particular C example and all its dependencies
make x00c

then when I run

examples/c/x00c -dev xwin

the plot persists on the screen and the C example does not quit.  In
fact, I can resize that plot so it does remain active until I exit
from it (by hitting the enter key or clicking on the button to destroy
the X window).  So it appears to me this default behaviour of the xwin
device is exactly what you described above.

You expressed and interest in Python so here is the equivalent there

# Create xwin device and all its dependencies
make xwin
# Create Python binding for PLplot
make _plplotcmodule_fixed
# Populate build tree with python examples
make python_examples

Then run

examples/python/x00 -dev xwin

and that plot has the same desired characteristics as the C version above.

Will you try either the C version or Python version of the concrete example
above, and let us know what (if anything) the difficulty might be?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
"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

Reply via email to