- Timestamp:
- Mar 20, 2020 11:51:13 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Combine_1D.ipf
r1242 r1247 37 37 Proc V_CombineDataGraph() 38 38 39 Variable sc = 1 40 41 if(root:Packages:NIST:VSANS:Globals:gLaptopMode == 1) 42 sc = 0.7 43 endif 44 39 45 // this is the "initialization" step 40 46 NewDataFolder/O root:ToTrim … … 46 52 47 53 if(V_flag==0) 48 49 Display /W=(277,526,879,1069)/N=V_1D_Combine /K=2 50 51 ControlBar 70 54 55 if(root:Packages:NIST:VSANS:Globals:gLaptopMode == 1) 56 Display/W=(100*sc,40*sc,700*sc,590*sc)/N=V_1D_Combine /K=2 57 else 58 Display /W=(277,526,879,1069)/N=V_1D_Combine /K=2 59 endif 60 61 ControlBar 70*sc 52 62 ModifyGraph cbRGB=(44000,44000,44000) 53 63 54 // Button button2,pos={ 15,5},size={70,20},proc=V_Load_ITX_button,title="Load Data"64 // Button button2,pos={sc*15,5*sc},size={sc*70,20*sc},proc=V_Load_ITX_button,title="Load Data" 55 65 // Button button2,help={"Load an ITX file"} 56 66 57 // PopupMenu popup1,pos={ 125,5},size={90,20},title="Data Folder"67 // PopupMenu popup1,pos={sc*125,5*sc},size={sc*90,20*sc},title="Data Folder" 58 68 // PopupMenu popup1,help={"data folder"} 59 69 // PopupMenu popup1,value= GetAList(4),proc=V_DataFolderPlotPop 60 70 61 PopupMenu popup0,pos={ 15,5},size={70,20},title="Bin Type"71 PopupMenu popup0,pos={sc*15,5*sc},size={sc*70,20*sc},title="Bin Type" 62 72 PopupMenu popup0,help={"binning type"} 63 73 PopupMenu popup0,value= ksBinTypeStr,proc=V_DataBinTypePlotPop 64 74 65 Button button3,pos={ 544.00,5},size={30.00,20.00},title="?"75 Button button3,pos={sc*544.00,5*sc},size={sc*30.00,20.00*sc},title="?" 66 76 Button button3,proc=V_ShowCombine1DHelp,help={"help file for combining 1D data"} 67 77 68 CheckBox check0,pos={ 18.00,36.00},size={57.00,16.00},proc=V_Plot1D_LogCheckProc,title="Log Axes"78 CheckBox check0,pos={sc*18.00,36.00*sc},size={sc*57.00,16.00*sc},proc=V_Plot1D_LogCheckProc,title="Log Axes" 69 79 CheckBox check0,value= 1 70 80 71 Button AllQ,pos={ 100,36},size={70,20},proc=V_AllQ_Plot_1D_ButtonProc,title="All Q"81 Button AllQ,pos={sc*100,36*sc},size={sc*70,20*sc},proc=V_AllQ_Plot_1D_ButtonProc,title="All Q" 72 82 Button AllQ,help={"Show the full q-range of the dataset"} 73 83 74 Button button1,pos={ 225,36},size={140,20},proc=V_TrimWaves2StringButton,title="Save Trim Points"84 Button button1,pos={sc*225,36*sc},size={sc*140,20*sc},proc=V_TrimWaves2StringButton,title="Save Trim Points" 75 85 Button button1,help={"Convert the waves to global strings"} 76 86 77 // Button button4,pos={ 388,36},size={90.00,20.00},title="Trim & Save"87 // Button button4,pos={sc*388,36*sc},size={sc*90.00,20.00*sc},title="Trim & Save" 78 88 // Button button4,help={"combine and save 1D data"},proc=V_SaveTrimmed_Button 79 89 80 Button button0,pos={ 524,36},size={70,20},proc=V_DoneCombine1D_ButtonProc,title="Done"90 Button button0,pos={sc*524,36*sc},size={sc*70,20*sc},proc=V_DoneCombine1D_ButtonProc,title="Done" 81 91 Button button0,help={"Close the panel and kill the temporary folder"} 82 92
Note: See TracChangeset
for help on using the changeset viewer.