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

Home » Public Forums » archive » Histogram looks like spiky bars
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Histogram looks like spiky bars [message #53110 is a reply to message #53063] Tue, 20 March 2007 12:27 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
On Mar 16, 8:14 am, "rpert...@gmail.com" <rpert...@gmail.com> wrote:
> Hi,
> I have an image for which I want to make a histogram. I just do plot,
> histogram(image) with xrange being my 14 bit image size (~16000).
> ANyway, what I get is a bunch of vertical lines of different lengths.
> I want a smooth curve, not discrete lines.
> How do i do that?
> thanks!!

There are two routines out there called HIST_PLOT. One is from Liam
Gumley and can be found at http://www.cis.rit.edu/~dwmpci/HTML_DOC/plotting_help.html
(also see his extensive bag o' tricks at http://cimss.ssec.wisc.edu/~gumley/).
The other is from Gelu Nita and can be found here:
http://achilles.nascom.nasa.gov/~zarro/php/ssw_print.php?fil e=$SSW/radio/ovsa/idl/util/hist_plot.pro.

I use the Gumley routine, though over the years I have modified it
almost into unrecognizability. But if you're just getting into this
problem, try them both see which you like better, both are very simple
routines.

Good luck!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: spawn issue - was: open sockets
Next Topic: Pointers and Objects

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

Current Time: Sat Oct 11 12:32:23 PDT 2025

Total time taken to generate the page: 0.16221 seconds