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

Home » Public Forums » archive » Re: Weird Axis Reversal with cgPlot
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
Re: Weird Axis Reversal with cgPlot [message #79194] Fri, 03 February 2012 10:12
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I have a weird one today!
>
> Consider the following two lines of code:
>
> cgplot, [0., 1.], [0., 1.]
> cgplot, [0., 1.], [0.5, 0.5], /overplot, color='red'
>
> The second, red, line should be drawn horizontally
> though the middle of the plot.
>
> Only, in IDL 8.1 on a Mac running OS X 10.7.2, it
> is not. The red line is drawn *vertically*!

Nevermind. This turned out to be the result of
an incorrectly synced library. When we started
with a completely new download, all was well. :-)

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: Weird Axis Reversal with cgPlot [message #79195 is a reply to message #79194] Fri, 03 February 2012 10:00 Go to previous message
BLesht is currently offline  BLesht
Messages: 89
Registered: March 2007
Member
I'm running IDL8.1 on a Mac under OSX 10.6.8 and it works just as
expected. Barry

On Feb 3, 10:44 am, David Fanning <n...@idlcoyote.com> wrote:
> Folks,
>
> I have a weird one today!
>
> Consider the following two lines of code:
>
>    cgplot, [0., 1.], [0., 1.]
>    cgplot, [0., 1.], [0.5, 0.5], /overplot, color='red'
>
> The second, red, line should be drawn horizontally
> though the middle of the plot.
>
> Only, in IDL 8.1 on a Mac running OS X 10.7.2, it
> is not. The red line is drawn *vertically*!
>
> I get the expected result on my Windows machine in
> IDL 7.1, 8.1, and 8.2 beta, so I presume this is
> the correct result (I would hope so!).
>
> Can someone with a Mac test this and tell us what
> you are seeing?
>
> I appreciate your help!
>
> 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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Weird Axis Reversal with cgPlot
Next Topic: Axis Probelm

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

Current Time: Fri Oct 10 10:19:45 PDT 2025

Total time taken to generate the page: 0.72111 seconds