diff scripts/plot/__scatter__.m @ 7603:689652eb95d1

fix for scatter markersize
author David Bateman <dbateman@free.fr>
date Wed, 19 Mar 2008 17:30:01 +0100
parents 1c7b3e1fda19
children a2d9f325b65a
line wrap: on
line diff
--- a/scripts/plot/__scatter__.m
+++ b/scripts/plot/__scatter__.m
@@ -52,17 +52,10 @@
   if (istart < nargin && firstnonnumeric > istart)
     s = varargin{istart};
     if (isempty (s))
-      s = 8;
+      s = 6;
     endif
   else
-    s = 8;
-  endif
-  ## Note markersize is in points^2 for 2D and points for 3D, and 
-  ## the below is an approximation, that is empircally visually correct.
-  if (nd == 2)
-    s = sqrt (s) / 2;
-  else
-    s = s / 4;
+    s = 6;
   endif
 
   if (istart < nargin && firstnonnumeric > istart + 1)