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

Home » Public Forums » archive » IDL log scale issues
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: IDL log scale issues [message #85973 is a reply to message #85972] Sun, 22 September 2013 13:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
foord14@bu.edu writes:

> Now I am receiving
> % PLOT: Warning: Infinite plot range.
>
> Here is my code:
>
> x and y are both arrays.
>
> plot, x, y, psym = 7, /xlog, /ylog, XStyle = 1, YStyle = 1, xrange=[0,16], yrange = [10,10000], Title = 'Run 1: Counts versus Time', XTitle = 'Time (minutes)', YTitle = 'Counts'

Yes, the log of zero is infinity. It's a math thing. ;-)

Try going from 1 to 16 or 1e-6 to 16, something like that.

You are probably not going to care much for the labeling of log axes.
Here is some reading you can do that might help.

http://www.idlcoyote.com/graphics_tips/minorlog.html

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: SPAWN bash commands
Next Topic: cgbarplot - barnames

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

Current Time: Wed Oct 08 17:25:49 PDT 2025

Total time taken to generate the page: 0.01167 seconds