From: Maurice L. <ml...@us...> - 2005-02-28 11:39:33
|
Update of /cvsroot/plplot/plplot/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5651 Modified Files: plcore.c Log Message: Most drivers only honor plspage() parameters during initialization (if at all), so it's best to issue a warning if called for plot level > 0. Index: plcore.c =================================================================== RCS file: /cvsroot/plplot/plplot/src/plcore.c,v retrieving revision 1.155 retrieving revision 1.156 diff -u -d -r1.155 -r1.156 --- plcore.c 29 Jan 2005 17:05:26 -0000 1.155 +++ plcore.c 28 Feb 2005 11:39:23 -0000 1.156 @@ -2490,6 +2490,9 @@ void c_plspage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff) { + if (plsc->level > 0) + plwarn("calling plspage() after plinit() may give unpredictable results"); + if (xp) plsc->xdpi = xp; if (yp) |