From: Nathan on 19 May 2010 17:32 On Apr 12, 11:49 pm, "Yair Altman" <altmany...(a)gmailDEL.comDEL> wrote: > Nathan <ngrec...(a)gmail.com> wrote in message <71fa8d51-93c5-4b56-ab28-0f7beb2c4...(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 Altmanhttp://UndocumentedMatlab.com I've read through your code and can't seem to figure out how to use it for my needs. For one, it looks like your guideline jumps from one region to the next, and I would like mine to act like the ginput lines (continuously following the cursor, on and off axes). In my program, I have 3 linked axes that show the same image in different forms: one is the full image, one is a thresholded binary image, and the third is an overlay of the two. The binary and overlay are zoomable, while the full image shows where you are zooming (if you choose to do so). I have multiple instances in which ginput is used for various image editing functions, but as I have previously mentioned, the fullcrosshair from the ginput does not stand out enough for me or users of my program. Your datamatrix is the closest thing that I've seen to what I am looking for. How can I go about creating a separate ginput function that uses the ginput functionality and uses a customizable crosshair as you have created? Thanks for pointing me in your direction, but I am still lost. -Nathan
|
Pages: 1 Prev: Surface generation from 3D Co-ordinates Next: surfer matlab vector quiver |