comparison scripts/plot/subplot.m @ 11149:fe3c3dfc07eb

style fix: break lines before && and ||, not after
author John W. Eaton <jwe@octave.org>
date Sat, 23 Oct 2010 03:00:31 -0400
parents a72d53df4fa6
children c9df571efe95
comparison
equal deleted inserted replaced
11148:c9ec943ebe65 11149:fe3c3dfc07eb
116 if (! ishandle (child)) 116 if (! ishandle (child))
117 continue; 117 continue;
118 endif 118 endif
119 if (strcmp (get (child, "type"), "axes")) 119 if (strcmp (get (child, "type"), "axes"))
120 ## Skip legend and colorbar objects. 120 ## Skip legend and colorbar objects.
121 if (strcmp (get (child, "tag"), "legend") || 121 if (strcmp (get (child, "tag"), "legend")
122 strcmp (get (child, "tag"), "colorbar")) 122 || strcmp (get (child, "tag"), "colorbar"))
123 continue; 123 continue;
124 endif 124 endif
125 objpos = get (child, "position"); 125 objpos = get (child, "position");
126 if (all (objpos == pos)) 126 if (all (objpos == pos))
127 ## If the new axes are in exactly the same position as an 127 ## If the new axes are in exactly the same position as an