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

Home » Public Forums » archive » Re: Draw a Histogram Plot
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: Draw a Histogram Plot [message #56906 is a reply to message #56904] Wed, 21 November 2007 10:30 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
David,

This is a valuable thing. Like many people I'm sure, I had a kluge I
had been using for this, but I look forward to shifting to something
more robust.

The rotating fill values and line-fill options are great!

I haven't actually put it through its paces, but looking through the
code I see this:

; Calculate the histogram.
histdata = Histogram(dataToHistogram, Binsize=binsize,
Max=Max(dataToHistogram),
Min=Min(dataToHistogram), _EXTRA=extra)

For generating a good histogram, you need to be able to specify the
MIN (and sometimes the MAX) values to HISTOGRAM(). Right now, if you
feed a MIN value into HISTOPLOT, it will choke because there is
already a MIN_VALUE keyword.

My "feature request" would be a means to have both PLOT min/max and
HIST min/max.

The application is, for example, a floating-point dataset where I need
an indication of how many zero values. So, for example, if my data
have three significant digits after the decimal, and a range of 0-100,
then I want:

h=histogram(data,min=-9.999,bin=10)
hist_plot,h,x_range=[0,100],/xstyle

--Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compile all obsolete routines at once
Next Topic: 3D Scatterplot with iMap/iImage

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

Current Time: Wed Oct 08 19:21:26 PDT 2025

Total time taken to generate the page: 0.00449 seconds