I am trying to write a widget program that allows the user to draw a line over a 3D data set (plotted in 2D with intensity as color) and have the program generate a separate 2D plot of intensity vs. position on the line they drew over the original 3D plot. Any pointers? Iam very new and can barely write a widget program. I know how to get the x and y position of the cursor, bu beyond that I can't make out much.
Thanks.
|