comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Coyote Graphics Updates

Re: Coyote Graphics Updates
type: item
description: Thanks David! Is cgDCBar now obsolete thanks to the /discrete keyword? On 12/08/2011 04:16 PM, David Fanning wrote: > Folks, > > I'm not sure what accounts for the burst in activity > in the past week (fears of having to get a real job > again, probably!), but I have changed 28 of the 41 > Coyote Graphics routines in the past week! > > Most of the changes have been documentation changes, > as I am switching to the IDLDOC rst method for all > new programs, and I wanted to retrofit all of my > Coyote Graphics programs so I could have a good > set of on-line documentation. There are still > niggling typos, etc., but you can find the on-line > documentation here: > > http://www.idlcoyote.com/idldoc/cg/index.html > > There have also been changes to some well-used programs. > > cgColor -- I have modified this grandfather of all > Coyote Graphics programs to be a bit more useful. > It will now accept a three-element array (a color > triple) as input, so you can specify *exactly* what > color your want in a device and color model independent > way. It will also accept byte and integer values, and it > will treat such values as indices into the current > color table. Previously, you had to make a string of > these values first (i.e., '215', rather than just 215). > It will also complain vociferously now if you pass > it the ambiguous long integer. > > Eventually, this will make specifying colors for all > Coyote Graphics routines more robust, but we see the > effects immediately in changes to cgColorbar. > > cgColorBar -- The biggest change to cgColorBar is > the ability now to include "out-of-bounds" colors > as triangles on either end of the color bar. The > keyword OOB_Low and OOB_High allow you to specify the > colors you want to use and take advantage of cgColor's > new functionality so there are LOTS of options on > how you specify the colors you want to use. The shape > of the triangle can be adjusted with the OOB_Factor > keyword, for those of you who are anal about …
creator: Fabzou
date: 2011-12-08T16:34:23-00:00

Re: Coyote Graphics Updates
type: item
description: Fabzou writes: > Is cgDCBar now obsolete thanks to the /discrete keyword? No, I don't think so. The labeling on cgDCBar is different, for one thing, and it probably has different roles to play. :-) 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.")
creator: David Fanning
date: 2011-12-08T16:37:48-00:00

Re: Coyote Graphics Updates
type: item
description: David (and Mike), The IDLDoc documentation looks great, and I am almost ready to switch my own programs to rst format (even though the documentation is slightly less readable when looking at the original file). Thanks for doing this. Do have any tricks to minimize the work involved in converting from the standard IDL documentation to rst? --Wayne On Thursday, December 8, 2011 10:16:05 AM UTC-5, David Fanning wrote: > > Most of the changes have been documentation changes, > as I am switching to the IDLDOC rst method for all > new programs, and I wanted to retrofit all of my > Coyote Graphics programs so I could have a good > set of on-line documentation. There are still > niggling typos, etc., but you can find the on-line > documentation here: > > http://www.idlcoyote.com/idldoc/cg/index.html >
creator: wlandsman
date: 2011-12-09T19:01:07-00:00

Re: Coyote Graphics Updates
type: item
description: wlandsman writes: > Do have any tricks to minimize the work involved in converting from the standard IDL documentation to rst? Set aside a couple of weeks when you have no hope of making any money and have nothing better to do. :-( Cheers, David P.S. The indenting is pretty important. You have to be anal about it. I would get a template of a program you know has got this right and use this religiously. This was the most tedious part of the conversion for me, since I also want to be able to read the documentation in the file, and I wanted that to look nice. The other thing that really slowed me down was fixing all the documentation that was obviously wrong, now that I had a chance to actually read it. :-( -- 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.")
creator: David Fanning
date: 2011-12-09T19:52:07-00:00

Re: Coyote Graphics Updates
type: item
description: On 12/9/11 12:01 PM, wlandsman wrote: > David (and Mike), > > The IDLDoc documentation looks great, and I am almost ready to switch > my own programs to rst format (even though the documentation is > slightly less readable when looking at the original file). Thanks for > doing this. Do have any tricks to minimize the work involved in > converting from the standard IDL documentation to rst? --Wayne > > On Thursday, December 8, 2011 10:16:05 AM UTC-5, David Fanning > wrote: There were some one-line scripts created to do some format conversions on documentation with the introduction of IDLdoc 3.0: http://idldoc.idldev.com/wiki/UpgradeTo30 These can't be used directly to convert from IDL template style to IDLdoc rst style, but maybe they will provide some direction for creating scripts to help the process along. I imagine that some manual fixing up is going to be necessary in any case. Mike -- Michael Galloy www.michaelgalloy.com Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com Research Mathematician Tech-X Corporation
creator: Michael Galloy
date: 2011-12-13T20:03:49-00:00