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

Home » Public Forums » archive » Weird Axis Reversal with cgPlot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Weird Axis Reversal with cgPlot [message #79196] Fri, 03 February 2012 08:44
David Fanning is currently offline  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.")
[Message index]
 
Read Message
Previous Topic: Re: Read data as array structure
Next Topic: Re: Weird Axis Reversal with cgPlot

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

Current Time: Fri Oct 10 13:41:12 PDT 2025

Total time taken to generate the page: 1.35836 seconds