From: Gor Paravinja on
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!
From: the cyclist on
"Gor Paravinja" <goljat2004(a)hotmail.com> wrote in message <hq9qf8$m7h$1(a)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