Re: IMDISP: A smart image display program [message #17931] |
Fri, 19 November 1999 00:00 |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
David Fanning wrote:
> Very nice job here, Liam. I stole a couple of your ideas
> for my own TVImage program. Particularly your automatic
> recognition of the !P.Multi system variable. I don't know
> why it is so hard to think of simple ideas sometimes.
> But you have done a great job with this. :-)
Thanks for the feedback David. I think it's fair to say that I stole a
couple of ideas from your TVImage program in the first place. Craig
Markwardt's recent PlotImage update also provided food for thought.
> I have just one suggestion. By default the image is
> very small when you set the !P.Multi system variable.
> I discovered, after playing around with it for a
> couple of minutes, that this was because the Margin
> was still set to 0.1. I like your idea of maintaining
> the aspect ratio of the image, but I would automatically
> turn the margins off unless they were explicitly asked
> for when plotting multiple images.
I'll meet you three quarters of the way: I've changed the default margin
to 0.025 normal units when multiple plots are displayed. I've also added
better detection of the display depth. The updated version is available
at
http://cimss.ssec.wisc.edu/~gumley/imdisp.html
Cheers,
Liam.
--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
|
|
|
Re: IMDISP: A smart image display program [message #17958 is a reply to message #17931] |
Thu, 18 November 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Liam Gumley (Liam.Gumley@ssec.wisc.edu) writes:
> IMDISP is a new IDL program which does everything possible (well,
> everything I know) to make it easy to display images in IDL. Features
> include:
Very nice job here, Liam. I stole a couple of your ideas
for my own TVImage program. Particularly your automatic
recognition of the !P.Multi system variable. I don't know
why it is so hard to think of simple ideas sometimes.
But you have done a great job with this. :-)
I have just one suggestion. By default the image is
very small when you set the !P.Multi system variable.
I discovered, after playing around with it for a
couple of minutes, that this was because the Margin
was still set to 0.1. I like your idea of maintaining
the aspect ratio of the image, but I would automatically
turn the margins off unless they were explicitly asked
for when plotting multiple images.
That's is. I like everything about it.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|