comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: X-axis value from histogram
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: X-axis value from histogram [message #30846] Mon, 20 May 2002 14:11
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bhuvan (new2idl@yahoo.com) writes:

> I plot a histogram of an image as:
>
> hist = histogram(image, min = 0)
> plot, hist
>
> Now, i want to know the grey scale value plotted along the X-axis with
> respect to the peak values in the histogram.

I should think that is pretty much the point of a Histogram
plot.

You can see my rendition of this with the HistoImage program
from my book:

http://www.dfanning.com/misc/histoimage.pro

You will need my TVImage and Colorbar programs, too:

http://www.dfanning.com/programs/tvimage.pro
http://www.dfanning.com/programs/colorbar.pro

Run the program like this:

IDL> Histoimage, image

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: X-axis value from histogram
Next Topic: Is there no NULL in IDL??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:39:24 PDT 2025

Total time taken to generate the page: 0.00535 seconds