help-octave
[Top][All Lists]
Advanced

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

Set position of xlabel object


From: mr_endres
Subject: Set position of xlabel object
Date: Tue, 06 Apr 2010 19:04:28 +0200

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 
-- 
  
  address@hidden

-- 
http://www.fastmail.fm - The professional email service



reply via email to

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