On Fri, Nov 13, 2009 at 4:31 PM, David Sagan <dc...@co...> wrote:
> Hello:
>
> I am trying to find the way to close up an X or tk window in plplot (5.9.5). When I run any example
> program, plend causes the program to go into an infinite loop so that window events can be handled.
> So plend will not do what I want. Anyone have any suggestions?
>
> -- Thanks, David
>
David,
By default, PLplot's interactive devices wait after a call to plend or
other functions which trigger the end of a plot page. If you would
like to avoid this wait, you can use the plspause function to change
that option. From C, calling plspause(0) will disable the end-of-page
pause and plspause(1) will enable it again.
Hope this helps,
Hez
--
Hezekiah M. Carty
Graduate Research Assistant
University of Maryland
Department of Atmospheric and Oceanic Science
|