[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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/plot/__go_draw_axes__.m
@@ -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";