help-octave
[Top][All Lists]
Advanced

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

Re: Set position of xlabel object


From: Ben Abbott
Subject: Re: Set position of xlabel object
Date: Tue, 06 Apr 2010 19:01:17 -0400

On Apr 6, 2010, at 1:04 PM, address@hidden wrote:

> Hello,
> 
> how can I change the position of the xlabel / ylabel text?
> I have tried this example code :
>   x=0:.1:10;
>   y=sin(x);
>   plot(x,y)
>   xlabel('x [unit]')
>   k=ylabel('y [unit]')
>   set(k,'fontsize',18)    
>   set(k,'position',[10,0,0])
>   print -dpdf 'test.pdf'
> 
> Although I can change the fontsize, the position is not affected by the
> set command ?
> 
> Thanks in advance.
> 
> Johannes 


At the present time, it is not possible to change the position of the axes 
labels using the Gnuplot backend.

There is an effort underway to create a native graphics backend for Octave.  
Eventually, this functionality will be added.

Ben


reply via email to

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