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

Home » Public Forums » archive » Re: distribution of colors for an image
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: distribution of colors for an image [message #41349] Wed, 27 October 2004 04:32 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:
> Reimar Bauer writes:
>
>
>> Did someone know a routine to show in a simple XY Plot the distribution
>> of colors for an image?
>
>
> I think that is called a histogram, Reimar. :-)
>
> Cheers,
>
> David
>


fine, I have seen a lot of instruction on your marvellous web page.

But I don't understand the result I got. Lets show an example.

a=dist(20)
h=histogram(a)
print,max(a),max(h)
14.1421 56


u=uniq(a,sort(a))
help,u,h
U LONG = Array[61]
H LONG = Array[15]

Why could be h higher as a?
Why doesn't I got a vector length of 61 as uniq tells?


More and more I believe the first question does not describe what I want. .


Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL graphics w/ no display
Next Topic: WIDGET_LABEL FONT cross platform compatability

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

Current Time: Wed Oct 08 18:52:51 PDT 2025

Total time taken to generate the page: 0.00408 seconds