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

Home » Public Forums » archive » Horizontal Histogram Plots
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
Horizontal Histogram Plots [message #77354] Sat, 20 August 2011 07:17 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

A number of people have asked me to add the ability to display
histogram plots horizontally, rather than vertically. So I have
added a ROTATE keyword to cgHistoplot that does exactly this.
You can find the updated program here:

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

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.")
Re: Horizontal Histogram Plots [message #81206 is a reply to message #77354] Thu, 30 August 2012 09:55 Go to previous messageGo to next message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
Caroline writes:

> I just replaced my coyote library with them most recent versions today and the rotate command does not work in cghistoplot. Also, reverse_indices does not seem to do what it should.

Humm. This command works perfectly for me:

IDL> cghistoplot, cgdemodata(7), /rotate

Any chance you are not running the command you *think* you are running?

What does this say?

IDL> Print, File_Which('cghistoplot.pro')

Is that pointing to the one you just downloaded?

Cheers,

David
Re: Horizontal Histogram Plots [message #81208 is a reply to message #77354] Thu, 30 August 2012 09:31 Go to previous messageGo to next message
carolinebalden is currently offline  carolinebalden
Messages: 5
Registered: August 2012
Junior Member
On Saturday, August 20, 2011 8:17:57 AM UTC-6, David Fanning wrote:
> Folks,
>
> A number of people have asked me to add the ability to display
> histogram plots horizontally, rather than vertically. So I have
> added a ROTATE keyword to cgHistoplot that does exactly this.
> You can find the updated program here:
>
> http://www.idlcoyote.com/programs/cghistoplot.pro
>
> 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.")

Hi,

I just replaced my coyote library with them most recent versions today and the rotate command does not work in cghistoplot. Also, reverse_indices does not seem to do what it should.

Any suggestions?

Thank you!

Caroline
Re: Horizontal Histogram Plots [message #81275 is a reply to message #77354] Sat, 01 September 2012 15:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
carolinebalden@gmail.com writes:

> Is there a command to make the histogram density or
> frequency values as points connected by lines rather
> than as bars?

We generally use the cgPlot command for this. :-)

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.")
Re: Horizontal Histogram Plots [message #81279 is a reply to message #81206] Sat, 01 September 2012 12:27 Go to previous message
carolinebalden is currently offline  carolinebalden
Messages: 5
Registered: August 2012
Junior Member
On Thursday, August 30, 2012 10:55:46 AM UTC-6, Coyote wrote:
> Caroline writes:
>
>
>
>> I just replaced my coyote library with them most recent versions today and the rotate command does not work in cghistoplot. Also, reverse_indices does not seem to do what it should.
>
>
>
> Humm. This command works perfectly for me:
>
>
>
> IDL> cghistoplot, cgdemodata(7), /rotate
>
>
>
> Any chance you are not running the command you *think* you are running?
>
>
>
> What does this say?
>
>
>
> IDL> Print, File_Which('cghistoplot.pro')
>
>
>
> Is that pointing to the one you just downloaded?
>
>
>
> Cheers,
>
>
>
> David

How strange - now it is working! Thanks : )
Is there a command to make the histogram density or frequency values as points connected by lines rather than as bars?

Thanks for your great library!

Caroline
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: very simple but weird problem with CONTOUR
Next Topic: Re: very simple but weird problem with CONTOUR

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

Current Time: Wed Oct 08 15:39:20 PDT 2025

Total time taken to generate the page: 0.00575 seconds