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

Home » Public Forums » archive » Histogram problem
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
Histogram problem [message #16215] Tue, 06 July 1999 00:00
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
Having had my conscousness raised as to the power of HISTOGRAM, I am
trying to use the reverse indices feature, which leads to the following
problem:

IDL> c_hist = HISTOGRAM(c, MIN=-30.0, MAX=30.0, BINSIZE=1.0, REVERSE=r, /NAN)
IDL> HELP, c_hist
C_HIST LONG = Array[61]
IDL> PRINT, r[0L:60L]
62 112 69 73 77 81
87 90 96 103 109 117
126 132 145 156 170 185
207 225 250 282 322 373
442 533 677 913 1336 1803
2247 2853 3339 3770 4005 4148
4239 4307 4357 4396 4427 4451
4469 4490 4504 4517 4527 4539
4545 4553 4560 4565 4571 4576
4579 4584 4587 4590 4593 4598
4599

Why is r[1] > r[2]? Naturally this causes errors when trying to use the
reverse indices viz.

r[r[1]:r[2]-1] = r[112:68] !!


On another note, has anyone tried to find "What's new in version X.XX" or
"What bugs are fixed in version X.XX" on the RSI web pages? If that info
is there, they have hidden it pretty well.

Thanks, Ken

--
Dr. Kenneth P. Bowman, Professor 409-862-4060
Department of Meteorology 409-862-4466 fax
Texas A&M University bowmanATcsrp.tamu.edu
College Station, TX 77843-3150 Replace AT with @
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Histogram problem
Next Topic: Post-Doc Research Fellowship available, 3 yrs

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

Current Time: Wed Oct 08 17:11:41 PDT 2025

Total time taken to generate the page: 0.00470 seconds