Changeset f0c09d5 in sasview for guitools


Ignore:
Timestamp:
Apr 3, 2008 11:22:58 AM (17 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
f63f5ff
Parents:
89a436a
Message:

more comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guitools/requirements.txt

    r89a436a rf0c09d5  
    2121- IMPROVEMENTS 
    2222  1- After loading a new file or changing the scale using the "Properties" menu, remove any previously displayed fit from the graph. 
     23   
     24  2- There are additional y scales we need: y, y^2, log(y), 1/y, 1/sqrt(y), log(y * x), log(y * x^2) 
     25  3- You should change the label according to what the user chose, and not hard-code them. 
     26     For example, in PlotPanel._onEVT_FUNC_PROPERTY, replace 
     27           
     28            self.graph.xaxis('\\rm{q^{2}} ', 'A^{-2}') 
     29          
     30         with 
     31            name, units = self.some_plottable.get_xaxis() 
     32            self.graph.xaxis("(%s)^2" % name,  "(%s)^2" % units) 
     33     
     34     That way it still works even if the user is not plotting Intensity versus Q. 
Note: See TracChangeset for help on using the changeset viewer.