COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### 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');
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

```"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');
> 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

1 Replies
411 Views

Similiar Articles:

7/23/2012 7:42:56 PM