From: Paul on
Anyone? :(

Where is imageanalysist when u need him >.<
From: Walter Roberson on
Paul wrote:
> How do i remove the numbers around the edges. The axis object displays
> an image i set it. But it shows the numbers on the axis. (pixel count).
> How do i remove the axis values so its just the picture.

Give ytick an empty matrix is one way. That could be via the ytick()
command, or by setting the 'ytick' property of the axis.
From: Paul on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hYfGn.6821$h57.4985(a)newsfe22.iad>...
> Paul wrote:
> > How do i remove the numbers around the edges. The axis object displays
> > an image i set it. But it shows the numbers on the axis. (pixel count).
> > How do i remove the axis values so its just the picture.
>
> Give ytick an empty matrix is one way. That could be via the ytick()
> command, or by setting the 'ytick' property of the axis.

Can you give me an example of the code to set it.

Ive tried

set(hObject,'YTick','[]);

setting it via the GUIDE does work, but once u set the image via runtime, they come back, so they need to be set blank again.

Cheers.

Paul
From: Paul on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hYfGn.6821$h57.4985(a)newsfe22.iad>...
> Paul wrote:
> > How do i remove the numbers around the edges. The axis object displays
> > an image i set it. But it shows the numbers on the axis. (pixel count).
> > How do i remove the axis values so its just the picture.
>
> Give ytick an empty matrix is one way. That could be via the ytick()
> command, or by setting the 'ytick' property of the axis.

Can you give me an example of the code to set it.

Ive tried

set(hObject,'YTick','[]);

setting it via the GUIDE does work, but once u set the image via runtime, they come back, so they need to be set blank again.

Cheers.

Paul
From: Paul on
set(handles.nonFlashImgAxis,'YTick',[]);
set(handles.nonFlashImgAxis,'XTick',[]);
Works.

Cheers