Prev: Skip lines in a for loop
Next: multiple legends
From: dpb on 14 Jul 2010 09:14 us wrote: .... > -or- maybe a change in the graphics handle engine... > ver 2010a yields > > plot(1:2); > lh=legend('a'); > % now > handle(gca) % <- does HANDLE exist in your ML ver(?)... > % ans = axes > get(lh,'type') > % ans = axes > handle(lh) > % ans = scribe.legend % <- what do you get in your ML ver(?)... > > us >> plot(rand(10,3)) >> legh = legend('a','b','c') legh = 104.0011 >> handle(gca) axes >> get(legh,'type') ans = axes >> handle(legh) graph2d.legend >> >> help handle handle.m not found. So, indeed, an apparent backward compatibility issue, intended or not. What does R2010a say in doc's about axes() and title()? Still seems to me that if one sets the legend axes as the current that title _ought_ to respect that. Not absolutely sure since have no doc's on legend what the significance of graph2d.legend vis a vis scribe.legend other than apparently there is some... :) -- |