From: "CRet" <c.ret@wanadoo.fr>
Newsgroups: comp.soft-sys.matlab
References: <ef35c22.-1@webx.raydaftYaTP>
Subject: Re: Hide numbers on axis (plot)
Date: Fri, 19 May 2006 21:20:43 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Lines: 28
Message-ID: <446e1abe$0$29407$8fcfb975@news.wanadoo.fr>
Organization: les newsgroups par Wanadoo
NNTP-Posting-Date: 19 May 2006 21:21:34 CEST
NNTP-Posting-Host: 83.194.22.85
X-Trace: 1148066494 news.wanadoo.fr 29407 83.194.22.85:1252
X-Complaints-To: abuse@wanadoo.fr
Path: news.mathworks.com!newsfeed-00.mathworks.com!oleane.net!oleane!feed.ac-versailles.fr!fdn.fr!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Xref: news.mathworks.com comp.soft-sys.matlab:350509



Hi,

You can manualy select ticks values by using the YTick property of the axis.
At least, an empty array will remove any ticks :

>> set(gca,'YTick',[]);

Look at documentation about SET/GET function and figure or axes properties
for more info on how you can customize plots in MatLab.
 Another usefull property is YTickLabel which allowed any string or literals
to be use for axis labels.


C.Ret


"Brandon Aubie" <brandon.aubie@TAKETHISOUTelecore.com> wrote in
news:ef35c22.-1@webx.raydaftYaTP...
> Hi,
>
> I'd like to hide the numbers on an axis in my plot since they are
> arbitrary and just distract from the data being plotted. When I do
> "axis off" I also lose my axis label. I would also like the line
> where the axis is, just not the numbers.
>
> Any ideas?