From: Nathan on
Is there any way to change the coloring of "fullcrosshair" for use in
ginput?

I am frequently using ginput in a gui I have for analyzing grayscale
soot particle images. I like the "fullcrosshair" pointer, but it is
often quite difficult to quickly determine where the center of the
crosshair is, due to very small color differences in the crosshair and
the image itself.
I would like to be able to make the whole crosshair red or some other
stand-out color such that I won't have to strain my eyes to determine
where the center of the crosshair is.

Has anybody come up with a fix to this?
Note that I would still like the same functionality that ginput
provides, but with a "fullcrosshair" pointer that stands out much
better than the current one.

-Nathan
From: Nathan on
On Apr 9, 3:23 pm, Nathan <ngrec...(a)gmail.com> wrote:
> Is there any way to change the coloring of "fullcrosshair" for use in
> ginput?
>
> I am frequently using ginput in a gui I have for analyzing grayscale
> soot particle images. I like the "fullcrosshair" pointer, but it is
> often quite difficult to quickly determine where the center of the
> crosshair is, due to very small color differences in the crosshair and
> the image itself.
> I would like to be able to make the whole crosshair red or some other
> stand-out color such that I won't have to strain my eyes to determine
> where the center of the crosshair is.
>
> Has anybody come up with a fix to this?
> Note that I would still like the same functionality that ginput
> provides, but with a "fullcrosshair" pointer that stands out much
> better than the current one.
>
> -Nathan

Anyone?
From: Walter Roberson on
Nathan wrote:
> On Apr 9, 3:23 pm, Nathan <ngrec...(a)gmail.com> wrote:
>> Is there any way to change the coloring of "fullcrosshair" for use in
>> ginput?

Not without going in at the Java level.
From: Nathan on
On Apr 12, 2:17 pm, Walter Roberson <rober...(a)hushmail.com> wrote:
> Nathan wrote:
> > On Apr 9, 3:23 pm, Nathan <ngrec...(a)gmail.com> wrote:
> >> Is there any way to change the coloring of "fullcrosshair" for use in
> >> ginput?
>
> Not without going in at the Java level.

Well, if that were viable, would it be reasonably quick like ginput
is?
My program uses ginput as a means of soot particle analysis, and
therefore it is used quite frequently.

Would going to the java level slow ginput down enough to be noticed?

If not, how would I go about figuring this out? I've scanned across
Yair Altman's website to no avail. (However, he does create some
dotted-line fullcrosshair, but I'm not sure as to how I would
implement it with ginput...)

-Nathan
From: Yair Altman on
Nathan <ngreco32(a)gmail.com> wrote in message <71fa8d51-93c5-4b56-ab28-0f7beb2c472e(a)y17g2000yqd.googlegroups.com>...
> On Apr 12, 2:17 pm, Walter Roberson <rober...(a)hushmail.com> wrote:
> > Nathan wrote:
> > > On Apr 9, 3:23 pm, Nathan <ngrec...(a)gmail.com> wrote:
> > >> Is there any way to change the coloring of "fullcrosshair" for use in
> > >> ginput?
> >
> > Not without going in at the Java level.
>
> If not, how would I go about figuring this out? I've scanned across
> Yair Altman's website to no avail. (However, he does create some
> dotted-line fullcrosshair, but I'm not sure as to how I would
> implement it with ginput...)
>
> -Nathan

No need for Java: Use and modify my DataMatrix utility on the File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/16181-datamatrix - it is based on Matlab code, not Java. Specifically, look at the updateGuideline() function within this utility to see how to customize the dotted guide-lines.

Yair Altman
http://UndocumentedMatlab.com