Rotate the Tick

  • Follow


Hi!

I want to know if anybody can write a code how to rotata a tick in logarithmus figure. I wrote a code like this:

[H_uv,ef]=dendrogram(Z_uv,0,'colorthreshold',Du_GROUP,'Label',s_uv);                     
set(gcf,'Position', [50, 50, 800, 450]);
set(H_uv,'LineWidth',2)
title('....')
Xlim_=get(gca,'Xlim');
set(gca,'NextPlot','add');
plot(gca,[Xlim_(1),Xlim_(2)],[Du_GROUP,Du_GROUP],'-r','LineWidth',2)
grid on
box on
set(gca,'YScale','log','Ylim',[10^-5 10^-1])
xlabel('....')
ylabel('....')

So the names on my y-axix are to big and I want to rotate them? Is this possible? 

Thanks! 
0
Reply Gor 4/16/2010 1:59:04 PM

"Gor Paravinja" <goljat2004@hotmail.com> wrote in message <hq9qf8$m7h$1@fred.mathworks.com>...
> Hi!
> 
> I want to know if anybody can write a code how to rotata a tick in logarithmus figure. I wrote a code like this:
> 
> [H_uv,ef]=dendrogram(Z_uv,0,'colorthreshold',Du_GROUP,'Label',s_uv);                     
> set(gcf,'Position', [50, 50, 800, 450]);
> set(H_uv,'LineWidth',2)
> title('....')
> Xlim_=get(gca,'Xlim');
> set(gca,'NextPlot','add');
> plot(gca,[Xlim_(1),Xlim_(2)],[Du_GROUP,Du_GROUP],'-r','LineWidth',2)
> grid on
> box on
> set(gca,'YScale','log','Ylim',[10^-5 10^-1])
> xlabel('....')
> ylabel('....')
> 
> So the names on my y-axix are to big and I want to rotate them? Is this possible? 
> 
> Thanks! 

There a files to do this in the File Exchange.  I've used one called "xticklabel_rotate" with some success, but I don't know if this is the best available.  Do a keyword search in the FEX.

the cyclist
0
Reply the 4/16/2010 2:08:08 PM


1 Replies
411 Views

(page loaded in 0.032 seconds)

Similiar Articles:













7/23/2012 7:42:56 PM


Reply: