Data browser plots and graphing layers.
aqshaw
I'm working with some data that I have stored in a 3D wave. Most of the is energy profiles in x and y coordinates with a third parameter being the orientation of the object. As the third parameter is not z, I did not feel a volume plot would be appropriate so have been using image plots. I find this is suitable but I would like an easier way of browsing between my layers than using the Modify Image command to select the plane.
I noticed when I load my wave in the data browser it shows me a set of stacked image plots it calls a "3D box," that lets me browse through the layers with the arrow key.
Would someone be able to tell me how I could plot this sort of graph for myself? Also, if possible, I would also like to index the layers by their angle values rather than trying to remember what Layer #7 mean.
Thank you for your help.
A.G.
WaveMetrics, Inc.
May 14, 2013 at 11:48 am - Permalink
However, I'd like to know if it is possible to label or rescale the slider so that I can directly read the angle value of the displayed image, rather than try to work out what layer 20
means in terms of degrees of rotation.
Thanks
May 21, 2013 at 10:33 am - Permalink
I am not exactly sure where your rotation parameter is stored or how it is computed. The slider procedure exists as a WaveMetrics Procedure. You can find it in the IGOR Pro folder:WaveMetrics Procedures:Image Processing:ImageSlider.ipf. Now that you know where the procedure resides, there is nothing that keeps you from creating a copy and modifying it to your requirements. I am guessing that what you want involves some scaling between the displayed value and the plane (layer) actually displayed. You can implement that by applying the scaling in the function WM3DImageSliderProc(). For example, suppose you are displaying a value in the control that is 5x the layer number. In that case modify the line:
to read:
If you have set that information in the wave scaling of some wave say "w" you can always use something like:
ModifyImage $imageName, plane=(localLayer)
I hope this helps,
A.G.
WaveMetrics, Inc.
May 21, 2013 at 04:49 pm - Permalink