Re: Coyote Library Updates [message #81919 is a reply to message #62777] |
Fri, 09 November 2012 10:40  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Hello,
I went to
https://code.google.com/p/idl-coyote/source/browse/tags/coyo te/
but can't figure out what tag to export.
Should I grab 1.14.1?
I see 1.0.x and 1.1.x and 1.2.x tags, then it jumps to 1.10.x. The big
jump confuses me.... (sorry)
cheers,
paulv
On 11/09/12 12:15, David Fanning wrote:
> Folks,
>
> A couple of changes to the Coyote Library that you may
> want to be aware of.
>
> The Number_Formatter program has been retired and is
> replaced by the cgNumber_Formatter program. This program
> has been updated to handle NaN and Inf values properly,
> and it now works MUCH better for numbers between 0.0001
> and 1.0. In this case, the number of decimals specified
> with the DECIMAL keyword is taken to mean the number of
> significant digits that should be displayed:
>
> IDL> a = [0.0123456, 0.000123456, !Values.F_NAN]
> IDL> Print, cgNumber_Formatter(a, Decimals=3)
> 0.0123 0.000123 NaN
>
> Also, the cgCheckForSymbols and the cgSymbol programs
> have been updated to handle superscripts and subscripts.
> The symbols \up and \down implement the !U and !D
> format codes, and reduce the size of the superscript or
> subscript by 0.62 percent. The symbols \exp and \sub
> implement !E and !I format codes and reduce the size
> of the superscript or subscript by 0.44 percent.
>
> IDL> cgPlot, cgDemoData(1), $
> XTitle='Distance ($\angstrom$$\up2$)', $
> YTitle='H$\subSubscript$ and B$\expSuperscript$', $
> Charsize=2.0
>
> Naturally, these work in PostScript files as well. :-)
>
> You can find these changes and others in the latest Coyote Library:
>
> http://www.idlcoyote.com/programs/zip_files/coyoteprograms.z ip
>
> Or, here:
>
> http://idl-coyote.googlecode.com/
>
> Cheers,
>
> David
|
|
|