Weird Axis Reversal with cgPlot [message #79196] |
Fri, 03 February 2012 08:44 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
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.")
|
|
|