Path: news.mathworks.com!not-for-mail
From: "german " <nospam@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fullcrosshair
Date: Tue, 9 Oct 2007 19:36:53 +0000 (UTC)
Organization: Hebrew Univ of Jerusalem
Lines: 65
Message-ID: <fegl8l$kg5$1@fred.mathworks.com>
References: <fe6co9$rr0$1@fred.mathworks.com> <fe96iv$coe$1@fred.mathworks.com> <fea1r5$g8f$1@fred.mathworks.com>
Reply-To: "german " <nospam@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1191958613 20997 172.30.248.35 (9 Oct 2007 19:36:53 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 9 Oct 2007 19:36:53 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 479142
Xref: news.mathworks.com comp.soft-sys.matlab:432082


hi
thanks for the reply.
custom pointers allow me to plot what I want but just in a 
16 by 16 pixel scale. I need an horizontal line which will 
extend through the whole x axis scale (similar to fullcross 
hair, but without the vertical line).
setptr allow me to use more pointer designs but still 
within 16 by 16 pixels scale.
do you have any ideas? where the fullcrosshair pointer 
script is?

thanks
german


"Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message 
<fea1r5$g8f$1@fred.mathworks.com>...
> "carlos lopez" <clv2clv_00000000_@adinet.com.uy> wrote in
> message <fe96iv$coe$1@fred.mathworks.com>...
> > "german " <nospam@yahoo.com> wrote in message
> > <fe6co9$rr0$1@fred.mathworks.com>...
> > > hi,
> > > I want to use a cursor like fullcrosshair, but to 
have only 
> > > the horizontal line.
> > > Is it possible to edit the pointer? if not, how can I 
make 
> > > a pointer with a full horizontal line?
> > > 
> > > thanks
> > > german
> > It is possible. You need to look for the properties of 
the
> > figure, namely with something like:
> > set
(gcf,'Pointer','custom','PointerShapeCData',something)
> > where something is explained in the manuals, and is 
where
> > you can freely use your creativity ;-)
> > Other property which might be worth investigating is
> > 'PointerShapeHotSpot' 
> > Regards
> > Carlos
> 
> 
> Look inside the setptr function for ideas/examples of how 
to
> do this, as well as a few predefined cursor shapes that 
are
> unavailable in set(gcf,'Pointer',...).
> 
> Note: setptr (and its sibling getptr) have been around in
> Matlab for ages (at least since Matlab 5.3), but to this 
day
> they are only partially documented (help text, but no doc)
> and apparently unsupported. I really have no idea why:
> Unlike moveptr (also semi-doc'ed, but which has a few 
quirks
> and is still not ready for prime time), setptr & getptr
> appear pretty stable and usable as-is.
> 
> Yair Altman
> http://ymasoftware.com
>