Re: JPEG image help - Easy for people who understand IDL?! [message #82387 is a reply to message #82299] |
Thu, 06 December 2012 16:38   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rebecca C writes:
> Also, my major is environmental science, "Society and Policy" track. *Not* the scientific/lab work track. I've taken two ArcGIS-related classes, and can operate that software alright to make maps and some tables. That's about as technical as I've ever had to get - IDL is quite the wrong fit for me!
>
> I'm headed out of the computer lab now, but I will be back on Tuesday. I would love to revisit this if I don't figure it out by then, so if you post your 3-line supermethod (or should I call it pure magic) I would definitely be grateful.
OK, here is my solution, then. When you get questioned
about whether this is your own work or not, just
say "I went to sleep the other night, and the answer
came to me in a dream. It was like I was channeling
Kekulé's structure of benzene!"
If you don't know who Kekulé is, you better bone
up on that whole snake chasing its tail business:
http://www.ch.ic.ac.uk/rzepa/mim/environmental/html/benzene. htm
Here it is:
cgImage, Filename='sky.jpg', /Window, WMULTI=[0,1,2]
cgImage, Filename='ocean.jpg', /AddCmd
cgControl, Output='combined_sky_ocean.jpg'
Good luck with this. You will owe me a beer when
I run into you at the big AGU meeting in San Francisco
next year!
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.")
|
|
|