changeset 10929:004fd6d6b7e9

__go_draw_axes__.m: Fix pointtype for patches.
author Ben Abbott <bpabbott@mac.com>
date Tue, 31 Aug 2010 12:30:51 -0400
parents a93efb08dc7f
children b0f2b9a2b681
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Aug 31 07:41:18 2010 -0400
+++ b/scripts/ChangeLog	Tue Aug 31 12:30:51 2010 -0400
@@ -1,3 +1,8 @@
+2010-08-31  Ben Abbott <bpabbott@mac.com>
+
+	* plot/__go_draw_axes__.m: Fix specification of pointtype for patches
+	(bug introduced in rev 2f9de135e7f9).
+
 2010-08-30  Ben Abbott <bpabbott@mac.com>
 
 	* plot/__go_draw_axes__.m: Use gnuplot's pentagon for marker == 'p'.
--- a/scripts/plot/__go_draw_axes__.m	Tue Aug 31 07:41:18 2010 -0400
+++ b/scripts/plot/__go_draw_axes__.m	Tue Aug 31 12:30:51 2010 -0400
@@ -749,6 +749,10 @@
              endif
 
              [pt, pt2] = gnuplot_pointtype (obj);
+             if (! isempty (pt))
+               pt = sprintf ("pointtype %s", pt);
+               pt2 = sprintf ("pointtype %s", pt2);
+             endif
 
              if (mono)
                colorspec = "";