cgHistogram - logarithmic y-axis with integer values [message #84886] |
Mon, 17 June 2013 07:06  |
Maria Cavallius
Messages: 2 Registered: June 2013
|
Junior Member |
|
|
Hi,
I've been trying to get cgHistoplot to work with a logarithmic y-axis,
using /log. This works, but it also means my y-axis units are shown as
floats with over 10 decimals. I haven't been able to find out how to
turn these into integers - can anyone help?
Best,
Maria
|
|
|
|
Re: cgHistogram - logarithmic y-axis with integer values [message #84889 is a reply to message #84888] |
Mon, 17 June 2013 07:18  |
Maria Cavallius
Messages: 2 Registered: June 2013
|
Junior Member |
|
|
On 17 Jun., 16:11, David Fanning <n...@idlcoyote.com> wrote:
> Maria Cavallius writes:
>> I've been trying to get cgHistoplot to work with a logarithmic y-axis,
>> using /log. This works, but it also means my y-axis units are shown as
>> floats with over 10 decimals. I haven't been able to find out how to
>> turn these into integers - can anyone help?
>
> Add YTICKFORMAT='(I0)', maybe?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Hey, it worked! And that was just about the quickest answer I've ever
gotten - thank you so much! Your website has saved me so many hours of
frustration ;-)
|
|
|