changeset 7060:033918b854a7

[project @ 2007-10-24 17:51:05 by jwe]
author jwe
date Wed, 24 Oct 2007 17:51:05 +0000
parents 8d57f66e35b8
children 005c785b8d81
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Oct 24 17:16:23 2007 +0000
+++ b/scripts/ChangeLog	Wed Oct 24 17:51:05 2007 +0000
@@ -1,3 +1,7 @@
+2007-10-24  John W. Eaton  <jwe@octave.org>
+
+	* plot/__go_draw_axes__.m: Handle visible = "off" for axes objects.
+
 2007-10-23  Peter A. Gustafson  <petegus@umich.edu>
 
 	* plot/legend.m: Also extract location string from varargin (lost
--- a/scripts/plot/__go_draw_axes__.m	Wed Oct 24 17:16:23 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Wed Oct 24 17:51:05 2007 +0000
@@ -788,6 +788,10 @@
       endif
     endif
 
+    if (strcmpi (axis_obj.visible, "off"))
+      fputs (plot_stream, "unset border; unset tics\n");
+    endif
+
     if (strcmpi (axis_obj.key, "on"))
       if (strcmpi (axis_obj.keybox, "on"))
 	box = "box";