# HG changeset patch # User jwe # Date 1170710754 0 # Node ID 59deaa5b7e994b05c539575e56f178d0cbc76536 # Parent 0078497b3b0b6dcc79d2600ec61014076324895a [project @ 2007-02-05 21:25:53 by jwe] diff -r 0078497b3b0b -r 59deaa5b7e99 scripts/ChangeLog --- a/scripts/ChangeLog Thu Feb 01 10:34:14 2007 +0000 +++ b/scripts/ChangeLog Mon Feb 05 21:25:54 2007 +0000 @@ -1,3 +1,8 @@ +2007-02-05 John W. Eaton + + * plot/__uiobject_draw_axes__.m: Use title "" if no explicit title. + When setting {x,y,z}lim, also set {x,y,z}limmode to "auto. + 2007-02-01 John W. Eaton * plot/__uiobject_draw_axes__.m: diff -r 0078497b3b0b -r 59deaa5b7e99 scripts/plot/__uiobject_draw_axes__.m --- a/scripts/plot/__uiobject_draw_axes__.m Thu Feb 01 10:34:14 2007 +0000 +++ b/scripts/plot/__uiobject_draw_axes__.m Mon Feb 05 21:25:54 2007 +0000 @@ -244,7 +244,7 @@ case "line" data_idx++; if (isempty (obj.keylabel)) - titlespec{data_idx} = ""; + titlespec{data_idx} = "title \"\""; else titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); endif @@ -374,7 +374,7 @@ data_idx++; style = do_linestyle_command (obj, data_idx, plot_stream); if (isempty (obj.keylabel)) - titlespec{data_idx} = ""; + titlespec{data_idx} = "title \"\""; else titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); endif @@ -472,7 +472,7 @@ if (xautoscale && have_data) xlim = get_axis_limits (xmin, xmax, xminp, xlogscale); - set (h, "xlim", xlim); + set (h, "xlim", xlim, "xlimmode", "auto"); else xlim = axis_obj.xlim; endif @@ -480,7 +480,7 @@ if (yautoscale && have_data) ylim = get_axis_limits (ymin, ymax, yminp, ylogscale); - set (h, "ylim", ylim); + set (h, "ylim", ylim, "ylimmode", "auto"); else ylim = axis_obj.ylim; endif @@ -489,7 +489,7 @@ if (nd == 3) if (zautoscale && have_data) zlim = get_axis_limits (zmin, zmax, zminp, zlogscale); - set (h, "zlim", zlim); + set (h, "zlim", zlim, "zlimmode", "auto"); else zlim = axis_obj.zlim; endif