Changeset 4c530a5 in sasview for sansview/perspectives/fitting
- Timestamp:
- Sep 17, 2008 10:33:01 AM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 76e2369
- Parents:
- 671d14e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rdabb633 r4c530a5 521 521 522 522 new_plot = Theory1D(x, y) 523 new_plot.name = "Fitness"523 new_plot.name = model.name 524 524 new_plot.xaxis("\\rm{Q}", 'A^{-1}') 525 525 new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 526 new_plot.group_id = model.name 526 527 527 528 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, title="Analytical model")) 528 529 except: 529 print "SimView.complete1D: could not import sans.guicomm.events" 530 print "SimView.complete1D: could not import sans.guicomm.events\n %s" % sys.exc_value 531 logging.error("SimView.complete1D: could not import sans.guicomm.events\n %s" % sys.exc_value) 530 532 531 533 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.