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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: NG Colorbar in IDL 8.0.1 [message #73579] Thu, 18 November 2010 11:41
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On 18 nov, 19:41, "R.G. Stockwell" <noem...@please.com> wrote:
> "Gray" <grayliketheco...@gmail.com> wrote in message
>
> news:a4c954f3-5c24-4f9d-80c9-7c8da4f5824f@j9g2000vbl.googleg roups.com...
>
>
>
>
>
>> On Nov 17, 4:46 pm, David Fanning <n...@dfanning.com> wrote:
>>> Michael Galloy writes:
>>>> 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])
>
>>> It works for me, too. But I have had the experience
>>> (enough times that I am doing all my important work
>>> in IDL 7.1) that IDL 8 just stops responding to me.
>>> It's happy enough to accept my commands at the command
>>> line. It's just that nothing ever happens! There is no
>>> way I've found to get it out of this funk except to
>>> exit IDL and try again. It seems like this happens
>>> every 10 minutes, but it's probably no more than 5-6
>>> times a day.
>
>>> Cheers,
>
>>> David
>
>>> --
>>> David Fanning, Ph.D.
>>> Fanning Software Consulting, Inc.
>>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
>> Hm...  This is almost certainly related to the fact that I had to
>> compile my COLORBAR routine individually, due to the oft-complained-
>> about path issue and my coyoteprograms directory. :)
>
>> Since I will need to update that directory anyway thanks to your
>> overhaul (which I haven't gotten around to yet), I added an FSC_ to
>> the beginning of the Coyote colorbar routines, restarted IDL, and it
>> worked.  Score one for obvious solutions!
>
> I recently bumped into a legacy code/path problem as well.  It left
> the very aggravating series of error messages as follows:
>
>> compile module COLORBAR
>> ERROR: COLORBAR not found.
>
> (to paraphrase the error list).  It was a very annoying couple of minutes,
> before it occurred to me to check the paths, and what exactly was going
> on.  Apparently this is the first time I ran colorbar in IDL*.
>
> cheers,
> bob- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

I made extensive use of NG COLORBAR function, without any of the
problems you report (Windows 7, 32&64 bits).
But I find very annoying the way in which COLORBAR is associated with
a TARGET : is there a simple rule for associating the colorbar scale
with one of those present within a complex (multi dimensional)
vizualisation ? How simply display an image (for instance in log
scale) and draw its associated colorbar in a different unit (for
instance with a linear axis) ? etc...
alx.
Re: NG Colorbar in IDL 8.0.1 [message #73583 is a reply to message #73579] Thu, 18 November 2010 10:41 Go to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"Gray" <graylikethecolor@gmail.com> wrote in message
news:a4c954f3-5c24-4f9d-80c9-7c8da4f5824f@j9g2000vbl.googleg roups.com...
> On Nov 17, 4:46 pm, David Fanning <n...@dfanning.com> wrote:
>> Michael Galloy writes:
>>> 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])
>>
>> It works for me, too. But I have had the experience
>> (enough times that I am doing all my important work
>> in IDL 7.1) that IDL 8 just stops responding to me.
>> It's happy enough to accept my commands at the command
>> line. It's just that nothing ever happens! There is no
>> way I've found to get it out of this funk except to
>> exit IDL and try again. It seems like this happens
>> every 10 minutes, but it's probably no more than 5-6
>> times a day.
>>
>> Cheers,
>>
>> David
>>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Hm... This is almost certainly related to the fact that I had to
> compile my COLORBAR routine individually, due to the oft-complained-
> about path issue and my coyoteprograms directory. :)
>
> Since I will need to update that directory anyway thanks to your
> overhaul (which I haven't gotten around to yet), I added an FSC_ to
> the beginning of the Coyote colorbar routines, restarted IDL, and it
> worked. Score one for obvious solutions!

I recently bumped into a legacy code/path problem as well. It left
the very aggravating series of error messages as follows:

> compile module COLORBAR
> ERROR: COLORBAR not found.

(to paraphrase the error list). It was a very annoying couple of minutes,
before it occurred to me to check the paths, and what exactly was going
on. Apparently this is the first time I ran colorbar in IDL*.

cheers,
bob
Re: NG Colorbar in IDL 8.0.1 [message #73591 is a reply to message #73583] Wed, 17 November 2010 17:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paulo Penteado writes:

> I had that kind of non-responsiveness as well, but for me it was maybe
> 5-6 times since IDL 8 came out (July/22). I do not remember seeing it
> happen after 8.0.1. That is with constant use on the Workbench, with
> sessions typically opened once for the whole day, sometimes lasting
> several days until I close them.

I should move over and work on my LINUX machine. I probably
would, except all the software I need for my book
is on this Windows machine. :-(

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: NG Colorbar in IDL 8.0.1 [message #73592 is a reply to message #73591] Wed, 17 November 2010 17:23 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 17, 7:46 pm, David Fanning <n...@dfanning.com> wrote:
> It works for me, too. But I have had the experience
> (enough times that I am doing all my important work
> in IDL 7.1) that IDL 8 just stops responding to me.
> It's happy enough to accept my commands at the command
> line. It's just that nothing ever happens! There is no
> way I've found to get it out of this funk except to
> exit IDL and try again. It seems like this happens
> every 10 minutes, but it's probably no more than 5-6
> times a day.

I had that kind of non-responsiveness as well, but for me it was maybe
5-6 times since IDL 8 came out (July/22). I do not remember seeing it
happen after 8.0.1. That is with constant use on the Workbench, with
sessions typically opened once for the whole day, sometimes lasting
several days until I close them.
Re: NG Colorbar in IDL 8.0.1 [message #73593 is a reply to message #73592] Wed, 17 November 2010 13:53 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Nov 17, 4:46 pm, David Fanning <n...@dfanning.com> wrote:
> Michael Galloy writes:
>> 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])
>
> It works for me, too. But I have had the experience
> (enough times that I am doing all my important work
> in IDL 7.1) that IDL 8 just stops responding to me.
> It's happy enough to accept my commands at the command
> line. It's just that nothing ever happens! There is no
> way I've found to get it out of this funk except to
> exit IDL and try again. It seems like this happens
> every 10 minutes, but it's probably no more than 5-6
> times a day.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hm... This is almost certainly related to the fact that I had to
compile my COLORBAR routine individually, due to the oft-complained-
about path issue and my coyoteprograms directory. :)

Since I will need to update that directory anyway thanks to your
overhaul (which I haven't gotten around to yet), I added an FSC_ to
the beginning of the Coyote colorbar routines, restarted IDL, and it
worked. Score one for obvious solutions!
Re: NG Colorbar in IDL 8.0.1 [message #73594 is a reply to message #73593] Wed, 17 November 2010 13:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Galloy writes:

> 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])

It works for me, too. But I have had the experience
(enough times that I am doing all my important work
in IDL 7.1) that IDL 8 just stops responding to me.
It's happy enough to accept my commands at the command
line. It's just that nothing ever happens! There is no
way I've found to get it out of this funk except to
exit IDL and try again. It seems like this happens
every 10 minutes, but it's probably no more than 5-6
times a day.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
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 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
Re: NG Colorbar in IDL 8.0.1 [message #73596 is a reply to message #73595] Wed, 17 November 2010 13:06 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
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}
Re: NG Colorbar in IDL 8.0.1 [message #73598 is a reply to message #73596] Wed, 17 November 2010 12:45 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Preferences gone mad
Next Topic: Re: Preferences gone mad

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

Current Time: Wed Oct 08 11:40:31 PDT 2025

Total time taken to generate the page: 0.00468 seconds