IDL 8.1 Colorbar Weirdness Continues... [message #77694] |
Sat, 17 September 2011 09:37 |
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.")
|
|
|