octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.9.16


From: Michael Goffioul
Subject: Re: 2.9.16
Date: Wed, 31 Oct 2007 09:59:21 +0100

On 10/31/07, John W. Eaton <address@hidden> wrote:
> Are there any patches I've missed that should be applied before I make
> 2.9.16?  I'd like to make the snapshot by tomorrow afternoon (US
> Eastern time).

I found a problem in subplot, when legends are implemented in
a Matlab compatible way (== as axes objects): subplot should
ignore legend objects.

Michael.

scripts/ChangeLog

2007-10-31  Michael goffioul <address@hidden>

    * plot/subplot.m: ignore legend objects when parsing
    existing axes objects (when legend objects are implemented
    in a Matlab compatible way)



Index: scripts/plot/subplot.m
===================================================================
RCS file: /cvs/octave/scripts/plot/subplot.m,v
retrieving revision 1.43
diff -c -p -r1.43 subplot.m
*** scripts/plot/subplot.m      19 Oct 2007 18:24:19 -0000      1.43
--- scripts/plot/subplot.m      31 Oct 2007 08:56:40 -0000
*************** function h = subplot (rows, columns, ind
*** 126,131 ****
--- 126,135 ----
        continue;
      endif
      if (strcmp (get (child, "type"), "axes"))
+       ## Skip legend objects
+       if (strcmp (get (child, "tag"), "legend"))
+         continue;
+       endif
        objpos = get (child, "outerposition");
        if (objpos == pos)
        ## If the new axes are in exactly the same position as an


reply via email to

[Prev in Thread] Current Thread [Next in Thread]