NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
RC, >Date: Fri, 23 Feb 2001 09:47:31 -0500 >From: RC <recif@xxxxxxxxx> >To: visad-list@xxxxxxxxxxxxx >Subject: Display of 1D data from a 2D image The above message contained the following: > Is there a relatively straightforward way in visad for the data values > corresponding to a line being dragged across an image to be displayed > in a plot (somewhat as in Collage available from NCSA)? I'm not sure what you're asking, exactly. If you want to plot the range values of a ((x,y)->z) field as a function of position (s) along a line segment then, yes, VisAD can do this. Represent the line segment as an (s->(x,y)) FlatField. Everytime the line segment is moved, convert its new range values into a set and then use that set to resample the ((x,y)->z) field. Finally, modify the range values of a displayed (s->z) field according to the resampling. Regards, Steve Emmerson <http://www.unidata.ucar.edu>
visad
archives: