Re: Weird Axis Reversal with cgPlot [message #79194] |
Fri, 03 February 2012 10:12 |
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  |
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.")
|
|
|