changeset 12133:adbc08052ccd

meshc.m: Add note describing why the gnuplot backend is not consistent with Matlab.
author Ben Abbott <bpabbott@mac.com>
date Sat, 22 Jan 2011 13:54:18 -0500
parents dc11166fcddc
children 6c54ad0fde04 ddd4ef7934fc
files scripts/ChangeLog scripts/plot/meshc.m
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Sat Jan 22 13:29:43 2011 -0500
+++ b/scripts/ChangeLog	Sat Jan 22 13:54:18 2011 -0500
@@ -1,5 +1,7 @@
 2011-01-22  Ben Abbott  <bpabbott@mac.com>
 
+	* plot/meshc.m: Add note: gnuplot does not support filled 3D patches,
+	or mixing non-filled contours with filled surfaces.
 	* plot/subplot.m: Set "box" to "on" by default (same as Matlab).
 	* plot/cylinder.m: Remove console output from demo.
 
--- a/scripts/plot/meshc.m	Sat Jan 22 13:29:43 2011 -0500
+++ b/scripts/plot/meshc.m	Sat Jan 22 13:54:18 2011 -0500
@@ -37,6 +37,10 @@
 
   set (tmp, "facecolor", "w");
   set (tmp, "edgecolor", "flat");
+  ## FIXME - gnuplot does not support a filled surface and a
+  ## non-filled contour. 3D filled patches are also not supported.
+  ## Thus, the facecolor will be transparent for the gnuplot
+  ## backend.
 
   if (! ishold ())
     set (ax, "view", [-37.5, 30],