Tag Archives: (New) Graphics

Coming soon: IDL 8.2.3

IDL 8.2.3 is scheduled to be released on May 21. While this is primarily a maintenance release, we’ve included several new routines. They are: BUBBLEPLOT VOLUME FILE_ZIP FILE_UNZIP FILE_GZIP FILE_GUNZIP FILE_TAR FILE_UNTAR ZLIB_COMPRESS ZLIB_UNCOMPRESS IDLffVideoRead class QUERY_VIDEO READ_VIDEO WRITE_VIDEO TERMINAL_SIZE BUBBLEPLOT … Continue reading

Posted in VIS | Tagged , , , | 9 Comments

Modifying the size and position of a plot

In IDL 8 (a.k.a. New) Graphics, you can interactively move and resize plots in a window. For example, make a test plot in red: IDL> p = plot([0,1], ‘r’) Select the plot by clicking the mouse in the interior of … Continue reading

Posted in visualization | Tagged , , , | Leave a comment

An update to the CURRENT keyword

(Note: I’m out of town this week; this is a short post I banked earlier in the year.) The IDL 8 (a.k.a. New) Graphics CURRENT keyword got a useful update in IDL 8.2.2: instead of being a Boolean, it now accepts … Continue reading

Posted in language | Tagged , , , | Leave a comment

A recursive one-dimensional search routine

Ron Kneusel recently shared with our PWUISATAI group a recursive 1D golden section search routine (no derivatives necessary) that he’s used to locate function minima. Here’s the source code for Ron’s routine, GOLDENSECTIONSEARCH. To use it, say I want to … Continue reading

Posted in data analysis, programming | Tagged , , , , | Leave a comment

Batch processing with IDL

Following the theme of Mike Galloy’s post yesterday, I’d like to show an example of noninteractive batch processing with IDL. The example below uses Linux and bash, though I used to do similar things on Solaris (and SunOS before that!) … Continue reading

Posted in programming | Tagged , , , | 4 Comments

Updated snow water equivalent map

Last January, I posted a link to the daily snow water equivalent (SWE) map created by Andrew Slater at NSIDC. He’s since updated his website to include maps of SNOTEL stations throughout the western U.S., as well as climatology plots … Continue reading

Posted in visualization | Tagged , , , , , | Leave a comment

A visualization of polar winds

Earlier this fall, I worked with Hyungmin Lee (University of Colorado) on creating a visualization of polar wind data from the Goddard Earth Observing System Model, Version 5. Here’s the result: The top row depicts, in a polar stereographic projection, Northern … Continue reading

Posted in visualization | Tagged , , , | 3 Comments

Calculating the period of the sunspot cycle

Two weeks ago, I used the sunspot number data provided by the Solar Physics Group at NASA’s Marshall Space Flight Center to demonstrate positioning plots in window. This week, I’d like to show how to calculate the period of the … Continue reading

Posted in data access, data analysis, visualization | Tagged , , , , , | 5 Comments

Positioning plots

Last week, I gave an example of creating a multi-panel plot (or multiplot) using the LAYOUT keyword. Today (with a nod to a comment from Paul Young), I’ll show an alternate technique using the POSITION keyword. The Solar Physics Group … Continue reading

Posted in data access, language, visualization | Tagged , , , , , | 5 Comments

Making a multi-panel plot

Multiple-panel plots (or small multiples, from Edward Tufte) group a set of plots for convenient comparison. In DG, multi-panel plots can be built with the !p.multi system variable, or the MULTIPLOT astrolib routine. I’d like to show how to make a multi-panel plot in NG. I coded … Continue reading

Posted in language, visualization | Tagged , , , , , | 6 Comments