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

Home » Public Forums » archive » Re: Coyote Graphics Update 29 Jan 2011
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: Coyote Graphics Update 29 Jan 2011 [message #74659] Sun, 30 January 2011 06:14
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 30, 8:59 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> I have a request - can you include a legend program?  This is
>> something that NG has and CG doesn't.  Or, can I use the ASTROLIB
>> version (if I can find it on my computer)?
>
> Yes, I have bits and pieces of a barplot and a legend
> sitting around here, but, sigh... Have I mentioned I am
> unemployed? Can I count on you to buy two or three
> books? :-)
>
> Cheers,
>
> David
>
> P.S. As I point out to my wife nearly every day, the ten
> minutes I spend eating dinner with her is ten minutes
> more that book is not for sale. :-(
>
> --
> 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.")

And, don't forget about error bars! :/
Re: Coyote Graphics Update 29 Jan 2011 [message #74660 is a reply to message #74659] Sun, 30 January 2011 06:13 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 30, 8:59 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> I have a request - can you include a legend program?  This is
>> something that NG has and CG doesn't.  Or, can I use the ASTROLIB
>> version (if I can find it on my computer)?
>
> Yes, I have bits and pieces of a barplot and a legend
> sitting around here, but, sigh... Have I mentioned I am
> unemployed? Can I count on you to buy two or three
> books? :-)
>
> Cheers,
>
> David
>
> P.S. As I point out to my wife nearly every day, the ten
> minutes I spend eating dinner with her is ten minutes
> more that book is not for sale. :-(
>
> --
> 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.")

I will DEFINITELY buy the book. I will also recommend it to other IDL
users in my PhD program. :)
Re: Coyote Graphics Update 29 Jan 2011 [message #74661 is a reply to message #74660] Sun, 30 January 2011 05:59 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> I have a request - can you include a legend program? This is
> something that NG has and CG doesn't. Or, can I use the ASTROLIB
> version (if I can find it on my computer)?

Yes, I have bits and pieces of a barplot and a legend
sitting around here, but, sigh... Have I mentioned I am
unemployed? Can I count on you to buy two or three
books? :-)

Cheers,

David

P.S. As I point out to my wife nearly every day, the ten
minutes I spend eating dinner with her is ten minutes
more that book is not for sale. :-(

--
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.")
Re: Coyote Graphics Update 29 Jan 2011 [message #74662 is a reply to message #74661] Sun, 30 January 2011 03:43 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 29, 8:32 pm, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> Wow... David, you have really done some amazing things with this CG
>> system.  ITTVIS should hire you to write their NG programs!
>
> Well, that's pretty much my point. If I can do this
> in a couple of months WHILE I am spending all my time
> writing a book, why in the world are the NG programs
> so incomprehensibly complex!? The guts of the system,
> FSC_Window, I wrote in two long days of programming.
>
> It won't even be a contest when the Coyote Graphics
> system has to go up against the IDL 8 graphics system
> in a contest to actually write a new graphics program. I
> expect the Coyote Graphics system will win about
> 99 times out of a 100. :-)
>
> Cheers,
>
> David
>
> P.S. Truthfully, I expect the Coyote Graphics system
> to never lose in such a contest, but I don't want to
> sound arrogant. ;-)
>
> --
> 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.")

I have a request - can you include a legend program? This is
something that NG has and CG doesn't. Or, can I use the ASTROLIB
version (if I can find it on my computer)?
Re: Coyote Graphics Update 29 Jan 2011 [message #74664 is a reply to message #74662] Sat, 29 January 2011 17:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> Wow... David, you have really done some amazing things with this CG
> system. ITTVIS should hire you to write their NG programs!

Well, that's pretty much my point. If I can do this
in a couple of months WHILE I am spending all my time
writing a book, why in the world are the NG programs
so incomprehensibly complex!? The guts of the system,
FSC_Window, I wrote in two long days of programming.

It won't even be a contest when the Coyote Graphics
system has to go up against the IDL 8 graphics system
in a contest to actually write a new graphics program. I
expect the Coyote Graphics system will win about
99 times out of a 100. :-)

Cheers,

David

P.S. Truthfully, I expect the Coyote Graphics system
to never lose in such a contest, but I don't want to
sound arrogant. ;-)



--
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.")
Re: Coyote Graphics Update 29 Jan 2011 [message #74665 is a reply to message #74664] Sat, 29 January 2011 16:41 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 29, 5:27 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> There have been widespread updates to Coyote Graphics programs
> today. I think 14 programs changed in exciting (to me anyway!)
> ways that added additional functionality.
>
>   http://www.idlcoyote.com/programs/coyoteprograms.zip
>
> Here are some of the highlights.
>
> All Coyote Graphics routines for displaying traditional
> graphics commands now support a LAYOUT keyword that works
> identically to the LAYOUT keyword in the IDL 8 function
> graphics commands. Here, for example, is how you can
> display four different kinds of plots in a display window:
>
>    FSC_Display
>    CTLoad, 33, RGB_Table=palette
>    FSC_Plot, LoadData(1), Layout=[2,2,3], Color='red'
>    FSC_Contour, LoadData(2), NLevels=12, Layout=[2,2,1], Color='blue'
>    FSC_Surf, LoadData(2), /Elevation, Layout=[2,2,4, Palette=palette
>    TVImage, Loaddata(19), Multimargin=4, /Axes, Layout=[2,2,2]
>
> Here is how you can display the same four plots in a resizeable
> graphics window:
>
>    CTLoad, 33, RGB_Table=palette
>    FSC_Plot, LoadData(1), Layout=[2,2,3], Color='red', /Window
>    FSC_Contour, LoadData(2), NLevels=12, Layout=[2,2,1], $
>       Color='blue', /AddCmd
>    FSC_Surf, LoadData(2), /Elevation, Layout=[2,2,4], $
>       Palette=palette, /AddCmd
>    TVImage, Loaddata(19), Multimargin=4, /Axes, Layout=[2,2,2], /AddCmd
>
> The Histoplot program also has LAYOUT, WINDOW and ADDCMD keywords added.
>
> All Coyote Graphics routines are now defined with WINDOW and/or
> ADDCMD keywords so these commands can be added easily to the
> resizeable graphics windows. A new FSC_WControl (window control)
> program has been written to allow you to easily set FSC_Window
> properties. (This is addition to FSC_WSet and FSC_WDelete.)
>
> CTLOAD and XCOLORS have been configured so that when the WINDOW
> keyword is set, the colors that are loaded with these commands
> are sent directly to the current FSC_Window (or to any FSC_Window
> you designate). For example, if you have displayed an image in
> a resizeable graphics window like this:
>
>    TVImage, LoadData(7), /Keep_Aspect, Margin=0.1, /Window
>
> Then, to change color tables and have your image immediately updated,
> you must only do this:
>
>    CTLoad, 5, /Window
>
> Or,
>
>     XColors, /Window
>
> PALETTE keywords have been added to TVIMAGE, FSC_SURF, and FSC_Window
> to allow these programs to load and maintain their own color table
> vectors. With this functionality, you no longer have to worry about
> color table contamination issues. (Other programs mucking with the color
> table, loading drawing colors, etc.) Color tables will be loaded
> immediately before image or surface display and returned to their
> former state immediately after. This also makes it possible to use
> multiple color tables in both normal and resizeable graphics windows.
>
> The easiest way to get a color palette is with CTLOAD and the
> RGB_TABLE keyword. When this keyword is used, colors are not
> loaded, but a 256 by 3 array is created that can be used with
> the PALETTE keyword to these other routines.
>
>    CTLoad, 33, RGB_TABLE=palette
>    TVImage, LoadData(7), PALETTE=palette, /KEEP, /Window
>
> I'm sorry, but I can't program fast enough to keep up with all
> the good ideas! I told my wife it seems like a programming
> conspiracy. All the programs I've written in the past five years
> are working together to create a completely new graphics system,
> almost against my will. I want to get a book out the door, and these
> damn programs are demanding to be written! Yikes! It's the Night of the
> Body Snatchers. :-(
>
> At the very least they are demanding updates thoughout the book
> and another completely new chapter to explain their many features.
> What a wild week this has been. :-)
>
> 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.")

Wow... David, you have really done some amazing things with this CG
system. ITTVIS should hire you to write their NG programs!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 8.0 crashes vncserver sessions (RHEL Linux 5.0)
Next Topic: Coyote Graphics Update 30 Jan 2011

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

Current Time: Fri Oct 10 13:21:21 PDT 2025

Total time taken to generate the page: 0.64208 seconds