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

Home » Public Forums » archive » Re: NG Colorbar in IDL 8.0.1
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: NG Colorbar in IDL 8.0.1 [message #73595 is a reply to message #73594] Wed, 17 November 2010 13:28 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/17/10 2:06 PM, Paul van Delst wrote:
> Gray wrote:
>> On Nov 17, 3:42 pm, Gray<grayliketheco...@gmail.com> wrote:
>>> Hi all,
>>>
>>> Can anyone think of a reason why a colorbar would completely fail to
>>> appear in a NG window? I adapted the example from the IDL help for
>>> positioning, so one would assume that wasn't the issue...
>>>
>>> IDL> i1 = image(fwhm,title='FWHM
>>> (px)',rgb_table=4,position=[0.25,0.05,0.95,0.9])
>>> IDL> c1 =
>>> colorbar(target=i1,orientation=1,position=[0.05,0.22,0.29,0. 9])
>>>
>>> I get the image, offset to the side, and no colorbar.
>>>
>>> Thanks!
>>>
>>> --Gray
>>
>> Oops, I transposed the first two numbers in the "position" array in
>> this example. But doing it the way I meant
>> (position=[0.22,0.05,0.29,0.9]) leaves no colorbar either.
>
> Works for me.
>
> IDL> print, !version
> { x86 linux unix linux 8.0.1 Oct 6 2010 32 64}

Yes, works for me as well, though I would probably move it a bit more to
the left since it was bumping up against the image in my display:

c1 = colorbar(target=i1, orientation=1, position=[0.18,0.05,0.23,0.9])

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Preferences gone mad
Next Topic: Re: Preferences gone mad

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

Current Time: Sun Oct 12 08:04:28 PDT 2025

Total time taken to generate the page: 2.00011 seconds