Path: news.mathworks.com!not-for-mail
From: "Onur Kerimoglu" <onurkerim@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Ticks on dual axis ...
Date: Tue, 10 Jun 2008 13:27:02 +0000 (UTC)
Organization: Konstanz Universit?
Lines: 25
Message-ID: <g2lvf6$321$1@fred.mathworks.com>
References: <fja7ik$4fg$1@fred.mathworks.com> <fjac16$5sr$1@fred.mathworks.com> <fjaj5h$bll$1@fred.mathworks.com> <fjbmn2$egl$1@fred.mathworks.com> <fs8rd3$b0f$1@fred.mathworks.com> <fs98mg$5u$1@fred.mathworks.com>
Reply-To: "Onur Kerimoglu" <onurkerim@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213104422 3137 172.30.248.37 (10 Jun 2008 13:27:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Jun 2008 13:27:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1412224
Xref: news.mathworks.com comp.soft-sys.matlab:473046



"someone " <someone@somewhere.net> wrote in message
<fs98mg$5u$1@fred.mathworks.com>...
> "Joseph MacGregor" <blah@blah.com> wrote in message <fs8rd3
> $b0f$1@fred.mathworks.com>...
> > It would be a lot easier on everyone if there was simply a
> > axis property switch to turn off the ticks on one side,
> > rather than force the use of an awkward function like 
> plotyy.
> > 
> > Thanks,
> > 
> > Joe
> 
> Once you have a handle to the Y axis you want, just set its 
> Ytick property to an empty vector, [].

Of course that would work, but only if it was that straight
forward to get the handle of the specific 'axis' (not the
axes). Indeed, i found it very surprising that tick marks on
the opposite side is not optional as Joe also mentioned. And
plotyy function is not really taking care of different sets
of tick marks occuring at the same axis, as been claimed.
So, only solution left is that we have to arrange tick
spacings such that they overlap, a solution which cannot be
automatized easily..