So I did miss a trick then! Many thanks for your prompt response Michael. 

I had been unsuccessful using:
legend('test', 'Location', 'NorthWest'); 

But following your advice I can do:
legend('test');
set(legend, 'Location', 'NorthWest'); 

(I see I can use the legend function directly in 'set' as it just returns 
the handle when called, so I can move the legend without needing to save the 
handle when I first created it, or need to find it using 
findobj(gcf,'tag','legend')) 

Thanks again 

Matt 


 -----Original Message-----
From: Michael Goffioul [mailto:[EMAIL PROTECTED]
Sent: 22 June 2008 19:27
To: Matthew Bennett
Cc: [email protected]
Subject: Re: [OctDev] Positioning legend using JHandles 

There's is the "location" property of the legend object.
This property support the same set of values as in Matlab
(maybe not all of them). You can't reposition the legend
using the mouse. 

Michael. 


On Sun, Jun 22, 2008 at 3:42 PM, Matthew Bennett <[EMAIL PROTECTED]> wrote:
> Hi All, 
>
> As a new user coming from a MATLAB background I'm very impressed by Octave
> and the JHandles graphics package. While JHandles can do almost everything I
> want it to, repositioning the legend box is one thing I haven't had any luck
> with (v0.3.3). Have I missed a trick? Otherwise, is this functionality
> expected in a forthcoming update? 
>
> Great work everyone, 
>
> Matt


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to