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?
"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
"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.
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
>
"german " <nospam@yahoo.com> wrote in message
<fegl8l$kg5$1@fred.mathworks.com>...
> 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
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.