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

Home » Public Forums » archive » IDL 8.1 Colorbar Weirdness Continues...
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
IDL 8.1 Colorbar Weirdness Continues... [message #77694] Sat, 17 September 2011 09:37
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I am trying to write an article about how the IDL 8.1
Colorbar() function actually works. This is becoming
*extremely* difficult!

Here is another weird thing. The labels of the color
bar are different depending up on the type of
data to which the color bar is attached!!

file = Filepath(SUBDIR=['examples','data'], 'md1107g8a.jpg')
img = Read_Image(file)
imgObj = Image(img, Position=[0.1, 0.1, 0.9, 0.8])
cb = Colorbar(Target=imgObj,Position=[0.1, 0.85, 0.9, 0.88])

img = Float(img)
imgObj = Image(img, Position=[0.1, 0.1, 0.9, 0.8])
cb = Colorbar(Target=imgObj,Position=[0.1, 0.85, 0.9, 0.88])

Sigh...

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: Final Day IDL Book Sale
Next Topic: Re: IDL 8.1 Colorbar Weirdness Continues...

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

Current Time: Thu Oct 09 22:00:45 PDT 2025

Total time taken to generate the page: 1.12253 seconds