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

Home » Public Forums » archive » cgImage abscissa values in axis feature
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: cgImage abscissa values in axis feature [message #88276 is a reply to message #88275] Mon, 07 April 2014 09:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Petros Syntelis writes:

> I've downloaded the whole library and replaced the old one on my computer. My computer runs Mac OS X 10.8.5. I've restarted idl and the whole computer also!
>
> The funny thing is that almost every time i run the cgimage command i get a different axis color.
> Also, If i run create a cgdispaly window it resolves partly the problem
> So, this code:
> !p.multi=[0,5,5]
> cgdisplay, 600,400
> for i=0,24 do cgimage, im,xv=x,yv=x,/axis
> !p.multi=0
>
> creates a series of plots where the first 4 plots have black axis and the rest have white axis.
>
> This code, on the other hand,
> !p.multi=[0,5,5]
> for i=0,24 do cgimage, im,xv=x,yv=x,/axis
> !p.multi=0
>
> creates axis with all sorts of different colors. And the colors change randomly every time i run the for loop!
> Also, when i tried to take a snapshot
> snap=cgSnapshot(file='snaphot.png')
> The resulting png file have colored vertical bars, like an old television that can't get signal..
>
> What have i done??

Oh, my gosh! Bought the wrong computer, it sounds like. ;-)

Can you start IDL up fresh and give me the results of this command:

IDL> Help, /Device

Also, what version of IDL is 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 thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI/IDL vegetation identification
Next Topic: installation without a CD

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

Current Time: Thu Oct 09 20:41:45 PDT 2025

Total time taken to generate the page: 0.16437 seconds