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

Home » Public Forums » archive » cgHistoplot and logarithmic axes
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
cgHistoplot and logarithmic axes [message #79946] Wed, 11 April 2012 10:22
willettk is currently offline  willettk
Messages: 20
Registered: October 2006
Junior Member
Hi,

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

Thanks for any help!

- kw
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Trouble with MPFITFUN
Next Topic: Non linear fit with more than 2 dimensions!, does mpfit work?

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

Current Time: Wed Oct 08 18:53:33 PDT 2025

Total time taken to generate the page: 0.00411 seconds