On Fri, Nov 13, 2009 at 9:30 PM, David Sagan <dc...@cornell.edu> wrote: > Hello: > > The plclear() method does not seem to work for either xwin or tk. As a test I > modified the x09c.c > example: > > pllab("X Coordinate", "Y Coordinate", "Streamlines of flow"); > pl_setcontlabelparam(0.006, 0.3, 0.1, 0); > > /* Plot using 1d coordinate transform */ > > plclear(); // Added this line. > > plenv(-1.0, 1.0, -1.0, 1.0, 0, 0); > plcol0(2); > > > And plclear did not do anything. Am I doing something wrong or is this a bug? > > -- Thanks, David >
David, I do not have the tk device enabled on my system, but this works as expected on xwin. Without the call to plclear, the first plot page shows up as it should. With the call to plclear added, the first page is blanked after being drawn. Has this version of example 9 been modified in any other way? Hez -- Hezekiah M. Carty Graduate Research Assistant University of Maryland Department of Atmospheric and Oceanic Science ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general