| Re: Different sized pixels in pg_plotimage (is this a "feature") [message #64778 is a reply to message #64776] |
Tue, 20 January 2009 06:00   |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
Liam,
thanks this is another great solution to this.
I find it infinitely interesting how different people approach
problems. There are inherent "betters" and "worses" with each way
based much on the approach and the particulars of the problem it was
intended for.
pg_plotimage has the advantage of specifying img, x, y so it does the
axes for you and will scale the pixels log etc but doesnt provide a
clean way to set the zrange (color range), and has some 1/2 pixel
things that are more or less worked out now
imdisp has the advantage of being a very clean way to display an image
but the user has to specify the axes themselfs, which is often a good
thing. The zrange capability works easy also, but log scaling isnt
obvious in x and y
Just goes to show that when you need a hammer you need a hammer, and
when you need a screwdriver you need a screwdriver, each can
substitute in a pinch but it certainly best to understand your
tools...
Thanks much both of you, I will find a solution from the combination
I'm sure. A screwhammer :)
Brian
------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
|
|
|
|