Mercurial > octave-nkf
diff scripts/plot/surf.m @ 7146:c7e5e638a8d0
[project @ 2007-11-09 17:49:44 by jwe]
author | jwe |
---|---|
date | Fri, 09 Nov 2007 17:51:42 +0000 |
parents | 0e63f1126f01 |
children | dd88d61d443f |
line wrap: on
line diff
--- a/scripts/plot/surf.m Fri Nov 09 17:43:07 2007 +0000 +++ b/scripts/plot/surf.m Fri Nov 09 17:51:42 2007 +0000 @@ -38,8 +38,9 @@ ax = get (tmp, "parent"); set (tmp, "facecolor", "flat"); - - set (ax, "view", [-37.5, 30]); + if (! ishold ()) + set (ax, "view", [-37.5, 30]); + endif if (nargout > 0) h = tmp;