changeset 7564:90536e155fde

adjust markersize by a factor of 1/6
author John W. Eaton <jwe@octave.org>
date Thu, 06 Mar 2008 03:58:35 -0500
parents 438eb170e604
children 1e6443ff960f
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Mar 06 02:29:47 2008 -0500
+++ b/scripts/ChangeLog	Thu Mar 06 03:58:35 2008 -0500
@@ -1,5 +1,7 @@
 2008-03-06  John W. Eaton  <jwe@octave.org>
 
+	* plot/__go_draw_axes__.m: Adjust markersize by a factor of 1/6.
+
 	* general/interpn.m: New test.
 
 2008-03-05  Ben Abbott  <bpabbott@mac.com>
--- a/scripts/plot/__go_draw_axes__.m	Thu Mar 06 02:29:47 2008 -0500
+++ b/scripts/plot/__go_draw_axes__.m	Thu Mar 06 03:58:35 2008 -0500
@@ -622,7 +622,7 @@
 	     usingclause{data_idx} = "";
 
 	     if (isfield (obj, "markersize"))
-	       mdat = obj.markersize;
+	       mdat = obj.markersize / 6;
 	     endif
 
              if (isfield (obj, "edgecolor"))
@@ -747,9 +747,9 @@
 
 	     if (isfield (obj, "markersize"))
 	       if (length (mdat) == nc)
-		 m = mdat(i);
+		 m = mdat(i) / 6;
 	       else
-		 m = mdat;
+		 m = mdat / 6;
 	       endif
 	       if (! strcmpi (style, "lines"))
 		 if (have_newer_gnuplot)
@@ -1369,10 +1369,10 @@
 
     if (isfield (obj, "markersize"))
       if (have_newer_gnuplot)
-	fprintf (plot_stream, " pointsize %f", obj.markersize);
+	fprintf (plot_stream, " pointsize %f", obj.markersize / 6);
       else
 	if (! strcmpi (style, "lines"))
-	  with = sprintf ("%s ps %f", with, obj.markersize);
+	  with = sprintf ("%s ps %f", with, obj.markersize / 6);
 	endif
       endif
       found_style = true;