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

Home » Public Forums » archive » Notable Coyote Program Updates
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
Notable Coyote Program Updates [message #73662] Tue, 23 November 2010 07:41 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

As some of you have probably realized, I'm in the process
of completely refurbishing my Coyote Library. This is what
happens when you start writing a book. Explaining how
something works gives you a MUCH better idea of how
something *ought* to work!

The work is on-going and probably won't be completely
finished until early next year. But I wanted to give
you a heads-up on a couple of notable changes today.

I have made the TVScale command completely obsolete
by moving all the unique TVScale functionality over
to TVImage. This means you can scale images on the
fly with TVImage using the "normal" scaling keywords:
MinValue, MaxValue, Bottom, Top, and NColors.

I particularly like the NCOLORS and BOTTOM keywords
together, because you can immediately scale image
data into, say, 12 colors like this:

IDL> LoadCT, 33, NColors=12, Bottom=1
IDL> TVImage, image, NColors=12, Bottom=1

Pretty neat. :-)

There is also a conflict in IDL 8 with the old IDL
ARROW program, which is still in the IDL lib directory.
This conflicts with the ARROW function, which is in
the lib/graphics directory. If you want to use the
*old* ARROW program, you need to name it something
else. Since I was renaming it, and since I wanted to
add additional functionality to it, including making
it machine and color mode independent, I just decided
to do it right, so I've named this FSC_Arrow and put
it in the Coyote Library.

Finally, I have replaced ZPLOT and ZIMAGE, which provide
interactive zooming into line plots and images,
respectively, with FSC_ZPlot and FSC_ZImage. These new
programs are device and color independent, and
FSC_ZImage now works with both 2D and True-Color images.
Plus, it works correctly with images that are very, very
large and wouldn't fit on your display.

I've made other small changes to the new FSC_*** series
of programs to make sure color variables don't change
data type as a result of program manipulation.

I appreciate the feedback from people who are using these
programs. They are getting pretty darn good, if I do say
so myself. :-)

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: Notable Coyote Program Updates [message #73724 is a reply to message #73662] Wed, 24 November 2010 10:59 Go to previous messageGo to next message
Jianbao is currently offline  Jianbao
Messages: 16
Registered: December 2008
Junior Member
On Nov 23, 8:41 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> As some of you have probably realized, I'm in the process
> of completely refurbishing my Coyote Library. This is what
> happens when you start writing a book. Explaining how
> something works gives you a MUCH better idea of how
> something *ought* to work!
>
> The work is on-going and probably won't be completely
> finished until early next year. But I wanted to give
> you a heads-up on a couple of notable changes today.
>
> I have made the TVScale command completely obsolete
> by moving all the unique TVScale functionality over
> to TVImage. This means you can scale images on the
> fly with TVImage using the "normal" scaling keywords:
> MinValue, MaxValue, Bottom, Top, and NColors.
>
> I particularly like the NCOLORS and BOTTOM keywords
> together, because you can immediately scale image
> data into, say, 12 colors like this:
>
>    IDL> LoadCT, 33, NColors=12, Bottom=1
>    IDL> TVImage, image, NColors=12, Bottom=1
>
> Pretty neat. :-)
>
> There is also a conflict in IDL 8 with the old IDL
> ARROW program, which is still in the IDL lib directory.
> This conflicts with the ARROW function, which is in
> the lib/graphics directory. If you want to use the
> *old* ARROW program, you need to name it something
> else. Since I was renaming it, and since I wanted to
> add additional functionality to it, including making
> it machine and color mode independent, I just decided
> to do it right, so I've named this FSC_Arrow and put
> it in the Coyote Library.
>
> Finally, I have replaced ZPLOT and ZIMAGE, which provide
> interactive zooming into line plots and images,
> respectively, with FSC_ZPlot and FSC_ZImage. These new
> programs are device and color independent, and
> FSC_ZImage now works with both 2D and True-Color images.
> Plus, it works correctly with images that are very, very
> large and wouldn't fit on your display.
>
> I've made other small changes to the new FSC_*** series
> of programs to make sure color variables don't change
> data type as a result of program manipulation.
>
> I appreciate the feedback from people who are using these
> programs. They are getting pretty darn good, if I do say
> so myself. :-)
>
> 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.")

As a person who has been using the Coyote library for years, I wanna
express my sincere gratefulness to you, Dr. Fanning, for all your hard
work. I am sure it will help people like me a lot. Happy thanksgiving!
Re: Notable Coyote Program Updates [message #73753 is a reply to message #73662] Tue, 23 November 2010 10:58 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

> Oh, and lest I sound ungrateful, thanks very much for the code updates. :o)

You did appear to be somewhat ungrateful. I was
afraid you had abandoned me for the dark side
and the New Graphics. :-)

Cheers,

David

P.S. Lest *I* appear ungrateful, I actually think the
New Graphics are a great idea. I just can't use them
because I can't seem to keep IDL 8 running very well.
I do note that since I installed IDL 8, the IDL 7
Help system works perfectly! That's almost reason
enough to upgrade to IDL 8, right there. ;-)


--
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: Notable Coyote Program Updates [message #73754 is a reply to message #73662] Tue, 23 November 2010 10:52 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

> Are you generating new tags of the updates in your repository as you complete them? Or are you waiting for the early
> next year date?

I think I will tag a "release" to coincide with the
release of the book. These are in some degree of flux
at the moment, as I use them extensively and discover
new features I would like them to have.

I'm no good at saving things up for the Big Surprise,
however, so I'm making these programs available in
the repository and on my web page as they become
reasonably "stable." :-)

Plus, the more eyeballs we have looking these programs
over, the better they get. My eyesight appears to be
waining. :-(

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: Notable Coyote Program Updates [message #73755 is a reply to message #73662] Tue, 23 November 2010 10:44 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Oh, and lest I sound ungrateful, thanks very much for the code updates. :o)

cheers,

paulv


Paul van Delst wrote:
> Hello David,
>
> Are you generating new tags of the updates in your repository as you complete them? Or are you waiting for the early
> next year date?
>
> cheers,
>
> paulv
>
>
> David Fanning wrote:
>> Folks,
>>
>> As some of you have probably realized, I'm in the process
>> of completely refurbishing my Coyote Library. This is what
>> happens when you start writing a book. Explaining how
>> something works gives you a MUCH better idea of how
>> something *ought* to work!
>>
>> The work is on-going and probably won't be completely
>> finished until early next year. But I wanted to give
>> you a heads-up on a couple of notable changes today.
>>
>> I have made the TVScale command completely obsolete
>> by moving all the unique TVScale functionality over
>> to TVImage. This means you can scale images on the
>> fly with TVImage using the "normal" scaling keywords:
>> MinValue, MaxValue, Bottom, Top, and NColors.
>>
>> I particularly like the NCOLORS and BOTTOM keywords
>> together, because you can immediately scale image
>> data into, say, 12 colors like this:
>>
>> IDL> LoadCT, 33, NColors=12, Bottom=1
>> IDL> TVImage, image, NColors=12, Bottom=1
>>
>> Pretty neat. :-)
>>
>> There is also a conflict in IDL 8 with the old IDL
>> ARROW program, which is still in the IDL lib directory.
>> This conflicts with the ARROW function, which is in
>> the lib/graphics directory. If you want to use the
>> *old* ARROW program, you need to name it something
>> else. Since I was renaming it, and since I wanted to
>> add additional functionality to it, including making
>> it machine and color mode independent, I just decided
>> to do it right, so I've named this FSC_Arrow and put
>> it in the Coyote Library.
>>
>> Finally, I have replaced ZPLOT and ZIMAGE, which provide
>> interactive zooming into line plots and images,
>> respectively, with FSC_ZPlot and FSC_ZImage. These new
>> programs are device and color independent, and
>> FSC_ZImage now works with both 2D and True-Color images.
>> Plus, it works correctly with images that are very, very
>> large and wouldn't fit on your display.
>>
>> I've made other small changes to the new FSC_*** series
>> of programs to make sure color variables don't change
>> data type as a result of program manipulation.
>>
>> I appreciate the feedback from people who are using these
>> programs. They are getting pretty darn good, if I do say
>> so myself. :-)
>>
>> Cheers,
>>
>> David
>>
Re: Notable Coyote Program Updates [message #73756 is a reply to message #73662] Tue, 23 November 2010 10:43 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hello David,

Are you generating new tags of the updates in your repository as you complete them? Or are you waiting for the early
next year date?

cheers,

paulv


David Fanning wrote:
> Folks,
>
> As some of you have probably realized, I'm in the process
> of completely refurbishing my Coyote Library. This is what
> happens when you start writing a book. Explaining how
> something works gives you a MUCH better idea of how
> something *ought* to work!
>
> The work is on-going and probably won't be completely
> finished until early next year. But I wanted to give
> you a heads-up on a couple of notable changes today.
>
> I have made the TVScale command completely obsolete
> by moving all the unique TVScale functionality over
> to TVImage. This means you can scale images on the
> fly with TVImage using the "normal" scaling keywords:
> MinValue, MaxValue, Bottom, Top, and NColors.
>
> I particularly like the NCOLORS and BOTTOM keywords
> together, because you can immediately scale image
> data into, say, 12 colors like this:
>
> IDL> LoadCT, 33, NColors=12, Bottom=1
> IDL> TVImage, image, NColors=12, Bottom=1
>
> Pretty neat. :-)
>
> There is also a conflict in IDL 8 with the old IDL
> ARROW program, which is still in the IDL lib directory.
> This conflicts with the ARROW function, which is in
> the lib/graphics directory. If you want to use the
> *old* ARROW program, you need to name it something
> else. Since I was renaming it, and since I wanted to
> add additional functionality to it, including making
> it machine and color mode independent, I just decided
> to do it right, so I've named this FSC_Arrow and put
> it in the Coyote Library.
>
> Finally, I have replaced ZPLOT and ZIMAGE, which provide
> interactive zooming into line plots and images,
> respectively, with FSC_ZPlot and FSC_ZImage. These new
> programs are device and color independent, and
> FSC_ZImage now works with both 2D and True-Color images.
> Plus, it works correctly with images that are very, very
> large and wouldn't fit on your display.
>
> I've made other small changes to the new FSC_*** series
> of programs to make sure color variables don't change
> data type as a result of program manipulation.
>
> I appreciate the feedback from people who are using these
> programs. They are getting pretty darn good, if I do say
> so myself. :-)
>
> Cheers,
>
> David
>
Re: Notable Coyote Program Updates [message #73766 is a reply to message #73662] Mon, 29 November 2010 13:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Joe Zawodny writes:

> ... and I suppose combining the two with something like
>
> IDL> TVImage, image, NColors=12, Bottom=1, Color_Table=33
>
> would be asking for too much? I'm sure there is a good reason not to
> do this but, it is just an optional keyword after all.

It is not impossible to do, certainly. ScaleImage
in the Catalyst Library works like this, but there
an image is associated with colors and a coordinate
system, so it makes more sense to me.

I guess it is a philosophical thing. I believe in simple
tools for simple, everyday tasks. When I start thinking
for you, I become more like Microsoft Word than I really
care to be. TVImage doesn't really "know" about the image,
the way ScaleImage "knows" about the image. Because it is,
at heart a glorified TV command, TVIMAGE simply blasts pixels
onto the display.

I'd prefer to let you have some idea what you are doing
with color tables and let TVImage just feel like a smooth
plane in your hand. :-)

Cheers,

David

P.S. And, anyway, it is not just a COLOR_TABLE keyword.
It would have to be BREWER and REVERSE, too, to set up
colors the way I would like to set them up. :-)



--
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: Notable Coyote Program Updates [message #73767 is a reply to message #73662] Mon, 29 November 2010 12:08 Go to previous message
JMZawodny is currently offline  JMZawodny
Messages: 10
Registered: June 2007
Junior Member
... and I suppose combining the two with something like

IDL> TVImage, image, NColors=12, Bottom=1, Color_Table=33

would be asking for too much? I'm sure there is a good reason not to
do this but, it is just an optional keyword after all.

Thanks,
Joe


On Nov 23, 10:41 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> As some of you have probably realized, I'm in the process
> of completely refurbishing my Coyote Library. This is what
> happens when you start writing a book. Explaining how
> something works gives you a MUCH better idea of how
> something *ought* to work!
>
> The work is on-going and probably won't be completely
> finished until early next year. But I wanted to give
> you a heads-up on a couple of notable changes today.
>
> I have made the TVScale command completely obsolete
> by moving all the unique TVScale functionality over
> to TVImage. This means you can scale images on the
> fly with TVImage using the "normal" scaling keywords:
> MinValue, MaxValue, Bottom, Top, and NColors.
>
> I particularly like the NCOLORS and BOTTOM keywords
> together, because you can immediately scale image
> data into, say, 12 colors like this:
>
>    IDL> LoadCT, 33, NColors=12, Bottom=1
>    IDL> TVImage, image, NColors=12, Bottom=1
>
> Pretty neat. :-)
>
> There is also a conflict in IDL 8 with the old IDL
> ARROW program, which is still in the IDL lib directory.
> This conflicts with the ARROW function, which is in
> the lib/graphics directory. If you want to use the
> *old* ARROW program, you need to name it something
> else. Since I was renaming it, and since I wanted to
> add additional functionality to it, including making
> it machine and color mode independent, I just decided
> to do it right, so I've named this FSC_Arrow and put
> it in the Coyote Library.
>
> Finally, I have replaced ZPLOT and ZIMAGE, which provide
> interactive zooming into line plots and images,
> respectively, with FSC_ZPlot and FSC_ZImage. These new
> programs are device and color independent, and
> FSC_ZImage now works with both 2D and True-Color images.
> Plus, it works correctly with images that are very, very
> large and wouldn't fit on your display.
>
> I've made other small changes to the new FSC_*** series
> of programs to make sure color variables don't change
> data type as a result of program manipulation.
>
> I appreciate the feedback from people who are using these
> programs. They are getting pretty darn good, if I do say
> so myself. :-)
>
> 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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: event_pro for compound widgets
Next Topic: high quality 'old' direct graphics

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

Current Time: Wed Oct 08 11:35:12 PDT 2025

Total time taken to generate the page: 0.00636 seconds