parameters: (self, event=None)
docstring: Plot one edge result attribute versus another result attribute using matplotlib.
docstring_summary: Plot one edge result attribute versus another result attribute using matplotlib.
docstring_tokens: Plot one edge result attribute versus another result attribute using matplotlib .
function: def on_plot_xy_edgeresults(self, event=None):
          """Plot one edge result attribute versus another result attribute using matplotlib."""
          if self._simulation.results is None:
              self._simulation.results = results.Simresults(ident='simresults', simulation=self._simulation)
  
          if is_mpl:
              resultplotter = results_mpl.XYEdgeresultsPlotter(self._simulation.results,
                                                               logger=self._mainframe.get_logger())
              dlg = ResultDialog(self._mainframe, resultplotter)
  
              dlg.CenterOnScreen()
  
              # this does not return until the dialog is closed.
              val = dlg.ShowModal()
              # print '  val,val == wx.ID_OK',val,wx.ID_OK,wx.ID_CANCEL,val == wx.ID_CANCEL
              # print '  status =',dlg.get_status()
              if dlg.get_status() != 'success':  # val == wx.ID_CANCEL:
                  # print ">>>>>>>>>Unsuccessful\n"
                  dlg.Destroy()
  
              if dlg.get_status() == 'success':
                  # print ">>>>>>>>>successful\n"
                  # apply current widget values to scenario instance
                  dlg.apply()
                  dlg.Destroy()
function_tokens: def on_plot_xy_edgeresults ( self , event = None ) : if self . _simulation . results is None : self . _simulation . results = results . Simresults ( ident = 'simresults' , simulation = self . _simulation ) if is_mpl : resultplotter = results_mpl . XYEdgeresultsPlotter ( self . _simulation . results , logger = self . _mainframe . get_logger ( ) ) dlg = ResultDialog ( self . _mainframe , resultplotter ) dlg . CenterOnScreen ( ) # this does not return until the dialog is closed. val = dlg . ShowModal ( ) # print '  val,val == wx.ID_OK',val,wx.ID_OK,wx.ID_CANCEL,val == wx.ID_CANCEL # print '  status =',dlg.get_status() if dlg . get_status ( ) != 'success' : # val == wx.ID_CANCEL: # print ">>>>>>>>>Unsuccessful\n" dlg . Destroy ( ) if dlg . get_status ( ) == 'success' : # print ">>>>>>>>>successful\n" # apply current widget values to scenario instance dlg . apply ( ) dlg . Destroy ( )