Home > ISET > vcamera > sensor > sensorPlotLine.m

sensorPlotLine

PURPOSE ^

Select and plot a horizontal or vertical line of sensor data

SYNOPSIS ^

function uData = sensorPlotLine(isa, ori, dataType, sORt, xy)

DESCRIPTION ^

 Select and plot a horizontal or vertical line of sensor data

   uData =sensorPlotLine([isa=default ISA],[ori='h'],[dataType ='dv'],[spaceOrTransform = 'space'],[xy]) 

 Purpose:
   Plot the values in the sensor array taken from a horizontal or vertical
   line.  The line passes through the  point xy. 

   Set the sORt flag to plot {'spatial','space','spacedomain'}, or
   {'transform','fourier','fourierdomain','fft'} data.

   If no xy position is specified, the user is prompted to select using a
   crosshair on the sensor image window.  Otherwise, if the orientation is
   'h' (horizontal) xy indicates which row to plot.  If orientation is 'v'
   (vertical) xy indicates which column to plot. (N.B. Does not work properly
   from command line. GUI problem needs to be resolved with ieGetXYCoords) 
   
   Data types to plot include volts, electrons, or dv (digital values).

   The data plotted in the figure are returned in the structure, sData.

 Example:
  row = sensorGet(vcGetObject('isa'),'rows'); row = round(row/2);
  sData = sensorPlotLine([],'h','volts','space',[1,row])

 Internal functions:
   plotColorISALines
   plotMonochromeISALines

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003