Index Index
CPowerListener
 CPowerListener
    For CW Beams 
      
  hFig2 = figure('Position', [100, 100, 1400, 800], 'Color', [0.8, 0.8 ,1.0]);
  set(hFig2,'Renderer','zbuffer');
  lfigure2 = CListenerFigure([1 1], hFig2);
  
  hPowerListener = CPowerListener(caColor);
  hPowerListener.setRefractiveIndex(1.6*[1 1 1]); % more or less
  hPowerListener.placeOn(lfigure2, [1]);
  hPowerListener.setPlotType(@plot);
  hPowerListener.setPlotAtEvery(iPlotAtEvery);
  stepper.addListener(hPowerListener);
Class Details
Superclasses CListener, CGraphicalListener, CListenerWithColors, CListenerWithPlotType
Sealed false
Construct on load false
Constructor Summary
CPowerListener CEnergyListener(iPlotAtEvery, caAmplitudeColors) 
Property Summary
m_bIsFirstRun  
m_caAxes  
m_caColors  
m_caLabelNames  
m_caLabelUnits  
m_caLabels  
m_caPlotter  
m_caRangesSIUnit  
m_caRangesUserUnits  
m_fAddToPos  
m_hListenerFigure  
m_iCounter  
m_iPlotAtEvery  
m_mPower  
m_vAxisID  
m_vLabelMultipliers  
m_vPosition  
m_vRefractiveIndex  
m_vView  
Method Summary
  Listen  
  addlistener Add listener for event. 
Sealed   cat Concatenation for heterogeneous arrays 
  clearAxes () - clear all 
  delete Delete a handle object. 
  dontPlot  
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  getAxisMultiplier  
protected Static   getDefaultScalarElement Create a default object for heterogeneous arrays 
protected   getLabelIndex  
protected   getLabelSettings  
  getLabelString  
  getRange  
  gt > (GT) Greater than relation for handles. 
Sealed   horzcat Horizontal concatenation for heterogeneous arrays 
  isRangeSet  
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
  placeOn (hListenerFigure, vPosition) 
protected   plotter  
  setAxesRange  
  setAxesUnits (sLabel, sUnit) 
  setColors  
  setLabelName  
  setPlotAtEvery  
  setPlotType (hPlotType) 
  setRefractiveIndex  
  setVisible  
protected   updateUserUnitRange  
Sealed   vertcat Vertical concatenation for heterogeneous arrays 
Event Summary
ObjectBeingDestroyed Notifies listeners that a particular object has been destroyed.