|
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
>
|