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

Home » Public Forums » archive » Re: HistoPlot Bug ?
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: HistoPlot Bug ? [message #65626] Sat, 14 March 2009 13:47
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I've actually been thinking of re-writing this, when I get
> the time, in light of some new statistical thinking I have
> been doing. In any case, with certain data I have seen the
> kind of problem you describe before.
>
> It would help if I could get ahold of the data set you
> are using. With the data I have around here, HistoPlot
> always works perfectly. ;-)

OK, homework can wait, I guess. :-(

I completely gutted the drawing code of Histoplot and gave
up trying to squeeze the round IDL histogram into the
square hole of an IDL plot configuration. I just draw the
darn thing now from first principles. Works a hell of a lot
better. :-)

As far as I can tell, it works exactly they way it used
to work, only correctly. It certainly works with the data
you sent me. I'd be curious to know if anyone else has
a problem, although I would appreciate if you could wait
to report it until after the mid-term next week.

You can find the new version here:

http://www.dfanning.com/programs/histoplot.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: HistoPlot Bug ? [message #65627 is a reply to message #65626] Sat, 14 March 2009 12:27 Go to previous message
edwinretana is currently offline  edwinretana
Messages: 11
Registered: March 2009
Junior Member
On Mar 13, 9:36 pm, David Fanning <n...@dfanning.com> wrote:
> edwinret...@gmail.com writes:
>> I am using Histoplot, with some parallax data but the histogram does
>> appear to be misaligned...
>
>> Here you can see the pshttp://www.sendspace.com/file/b0mn0y
>
>> Also can edit the label axis of the histogram ?
>
> Yes, there is some problem with Histoplot that I haven't
> been able to get to the bottom of yet. I'm not sure I'll
> have time to look at it anytime soon, either. (I'm basically
> going crazy with a Statistics course on top of everything
> else I'm trying to do, and homework has become a BIG priority.)
>
> I've actually been thinking of re-writing this, when I get
> the time, in light of some new statistical thinking I have
> been doing. In any case, with certain data I have seen the
> kind of problem you describe before.
>
> It would help if I could get ahold of the data set you
> are using. With the data I have around here, HistoPlot
> always works perfectly. ;-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I'm using binsize = 1.33

This is the data :

8.2100000 3.2000000 6.8700000 8.8500000
9.9700000 6.2400000 9.2100000 5.9100000
7.2900000
18.790000 6.6600000 9.4800000 10.010000
9.7500000
9.7600000 8.8000000 8.8700000 8.7500000
9.6800000
9.0600000 8.4300000 8.5000000 9.2100000
9.0800000
4.7300000 6.6600000 16.100000 8.3500000
9.8700000
8.8700000 9.0500000 7.6100000 4.4200000
9.6400000
6.9000000 2.5400000 5.2700000 13.440000
8.5700000
8.4200000 8.0200000 10.120000 8.5800000
10.140000
6.3000000 26.910000 16.960000 9.8300000
24.720000
4.7600000 7.5600000 37.250000 25.340000
8.5700000

Thanks.
Re: HistoPlot Bug ? [message #65635 is a reply to message #65627] Fri, 13 March 2009 20:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
edwinretana@gmail.com writes:

> I am using Histoplot, with some parallax data but the histogram does
> appear to be misaligned...
>
> Here you can see the ps http://www.sendspace.com/file/b0mn0y
>
> Also can edit the label axis of the histogram ?

Yes, there is some problem with Histoplot that I haven't
been able to get to the bottom of yet. I'm not sure I'll
have time to look at it anytime soon, either. (I'm basically
going crazy with a Statistics course on top of everything
else I'm trying to do, and homework has become a BIG priority.)

I've actually been thinking of re-writing this, when I get
the time, in light of some new statistical thinking I have
been doing. In any case, with certain data I have seen the
kind of problem you describe before.

It would help if I could get ahold of the data set you
are using. With the data I have around here, HistoPlot
always works perfectly. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: HistoPlot Bug ? [message #65636 is a reply to message #65635] Fri, 13 March 2009 20:24 Go to previous message
edwinretana is currently offline  edwinretana
Messages: 11
Registered: March 2009
Junior Member
On Mar 13, 9:15 pm, edwinret...@gmail.com wrote:
> Hi Again :
>
> I am using Histoplot, with some parallax data but the histogram does
> appear to be misaligned...
>
> Here you can see the pshttp://www.sendspace.com/file/b0mn0y
>
> Also can edit the label axis of the histogram ?
>
> Thanks.

I use this command to use histoplot

Histoplot,float( parallax),BINSIZE=1.33,/LINE_FILL, $
POLYCOLOR=['charcoal', 'dodger blue', 'navy', 'forrest
green']
Re: HistoPlot Bug ? [message #65637 is a reply to message #65636] Fri, 13 March 2009 20:24 Go to previous message
edwinretana is currently offline  edwinretana
Messages: 11
Registered: March 2009
Junior Member
On Mar 13, 9:15 pm, edwinret...@gmail.com wrote:
> Hi Again :
>
> I am using Histoplot, with some parallax data but the histogram does
> appear to be misaligned...
>
> Here you can see the pshttp://www.sendspace.com/file/b0mn0y
>
> Also can edit the label axis of the histogram ?
>
> Thanks.

I use this command to use histoplot

Histoplot,float( parallax),BINSIZE=1.33,/LINE_FILL, $
POLYCOLOR=['charcoal', 'dodger blue', 'navy', 'forrest
green']
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl speed question
Next Topic: Setting odd/even numbers and decimal places in ENVI widgets

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

Current Time: Thu Oct 09 07:54:01 PDT 2025

Total time taken to generate the page: 1.59590 seconds