tgades@stolaf.edu (Anthony M Gades) (03/11/91)
I have mostly written a display program to analyze our geo-physical
RADAR data using X-windows. What we have is a long datafile of
waveforms that are 1024 bytes long. What I do is take each of the bytes, look
at its relative magnitude, and then give it a color. Then to display
I have created a window that is large enough so that I can dedicate a
pixel to each of the 1024 bytes. This works fine and dandy. Here is the
problem: I would like to take an arbitrary portion of the 1024 bytes,
and expand them over the entire window. That is, I want to be able
to blow up a region on the screen. The problem is that if I must
exaggerate the image, it must be an orderly thing, as each pixel
really means something in the real world.
thanks in advance for any help......
tgades
--
--------------------------------------------------------------
_________ Tony Gades St. Olaf College,
/ / Northfield, MN 55057
/ / tel (507)-663-2725 ekberg@asl.dl.nec.COM (Tom Ekberg) (03/12/91)
It sounds to me like you want to do something like xmag. I use it often to blow up a region of the screen to see what the pixels are. You probably will need to hack it up to get it to work directly with your application. If you want to interpolate then xmag will not be of much use -- it performs pixel magnification. -- tom, ekberg@asl.dl.nec.com (x3503)