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

Home » Public Forums » archive » Re: cgHistoplot and logarithmic axes
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: cgHistoplot and logarithmic axes [message #79861] Thu, 19 April 2012 06:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>
> Kwill writes:
>
>> I've been using David's excellent CG package for a while now, and have a question regarding cgHistoplot and logarithmic axes. I would like to make a histogram with logarithmic values on the y-axis (the histogram density). cgHistoplot will accept /YLOG as a keyword and plots the values, but the top axis is always misplaced; it appears in the bottom 25% of the plot. Any tips as to how this can be fixed?
>>
>> My version of cgHistoplot was last updated on 8 Nov 2011. Example code:
>>
>> IDL> x = randomu(seed,1000)
>> IDL> cgHistoplot, x, min_val=1, /ylog
>
> Alright, see what you think of this:
>
> http://www.idlcoyote.com/misc/cghistoplot.pro
>
> If it works, and doesn't bugger everything else up,
> I'll check it in.
>
> I've defined a new LOG keyword to represent the histogram
> count on a logarithmic scale.
>
> x = randomu(seed,1000)
> cgHistoplot, x, /fill, binsize=0.1, /log

Any reaction whatsoever to this updated program? Should
I check it in?

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PyQT widgets?
Next Topic: IDL Help Annoyance

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

Current Time: Wed Oct 08 16:03:53 PDT 2025

Total time taken to generate the page: 0.00445 seconds