Coyote Library Updated [message #87184] |
Tue, 14 January 2014 14:34  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I updated several programs in the Coyote Library today to make it easier
to compare output between Coyote Graphics routines and function graphics
routines. Mostly this included changing the default font size very
slightly in Coyote Graphics (when in PostScript) to match the function
graphics font size. I also changed the algorithm I was using in
cgPS2Raster to one that works correctly in all cases. It is simpler now
and involves a second ImageMagick command. Doing it this way makes it
much easier to create properly sized raster files from the encapsulated
PostScript files created by function graphics routines. (Well, it would
have, had the function graphics PostScript files not had bugs in them.
I've since learned these have been corrected in IDL 8.3.) Just be sure
to set the Portrait keyword (all encapsulated PostScript files are in
portrait orientation) when you are using cgPS2Raster with PostScript
files created with function graphics routines.
window.save, 'myfile.ps'
cgPS2Raster, 'myfile.ps', /PNG, Width=600, /Portrait
You can find updated Coyote Library files here:
http://www.idlcoyote.com/zip_files/coyoteprograms.zip
GoogleCode, as of today, is no longer allowing downloads of zip files,
so you can always find the latest files at the above location. They are
also available in the Coyote Store as a free software download:
http://www.idlcoyote.com/coyotestore/
If you have an SVN client, you can continue to get Coyote Library
routines from the GoogleCode repository. I continue to use this as the
source of all my library routines.
If you want to see an example of Coyote Graphics verses Function
Graphics output, download the new Library and then visit the multiple
axes plot example in the Coyote Plot Gallery:
http://www.idlcoyote.com/gallery/index.html#ADDITIONAL_AXES_ PLOT
If anyone wants to contribute function graphics code to the plot
gallery, please have at it. I'll do this as I can, but it is not my
highest priority.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|