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

Home » Public Forums » archive » Re: cgHistoplot issue
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 issue [message #76065] Thu, 19 May 2011 07:47 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Ah, of course! Thanks! Maybe I know
> how to fix this then. :-)

OK, I fixed cgHistogram. You can find it here:

http://www.idlcoyote.com/programs/cghistogram.pro

In cgHistogram I was calculating the min and max
ranges for the plot in the variables xrange and yrange.
I was creating the plot scaffolding for the histogram
plot, by using the PLOT command like this:

Plot, xrange, yrange, ...

The fix was simply to create the plot like this:

Plot, [0,0], xrange=xrange, yrange=yrange, ...

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
Read Message
Previous Topic: Re: IDL 7.1 to 8.1, workspace migration
Next Topic: Re: log scale colorbar in IDL 8.0

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

Current Time: Wed Oct 08 16:02:38 PDT 2025

Total time taken to generate the page: 0.00583 seconds