Changeset da594d0 in sasview
- Timestamp:
- Apr 17, 2009 3:12:22 PM (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:
- 5812a55
- Parents:
- fc6ea43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rfc6ea43 rda594d0 959 959 # Pass the reset flag to let the plotting event handler 960 960 # know that we are replacing the whole plot 961 from DataLoader.data_info import Data1D 962 info= Data1D(x= new_plot.x, y=new_plot.y) 963 info.title= new_plot.name 961 964 title= my_info.title 965 info.xaxis(new_plot._xaxis, new_plot._xunit) 966 info.yaxis( new_plot._yaxis, new_plot._yunit) 967 new_plot.info = info 962 968 if title== None: 963 969 title = "Analytical model 1D " … … 1009 1015 theory.detector= data.detector 1010 1016 theory.source= data.source 1011 1017 1012 1018 ## plot boundaries 1013 1019 theory.ymin= data.ymin
Note: See TracChangeset
for help on using the changeset viewer.