- Timestamp:
- Oct 5, 2010 9:00:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf
r748 r751 825 825 endfor 826 826 else 827 Wave/T/Z constr = constr 827 828 KillWaves/Z constr 828 829 Wave/T/Z constr = constr //this is intentionally a null reference … … 871 872 //if cursors are not being used, find the first and last points of the data set, and pass them 872 873 pt1 = 0 873 pt2 = numpnts(yw) 874 pt2 = numpnts(yw)-1 874 875 endif 875 876 … … 1157 1158 // insert graphs 1158 1159 if(WaveExists(dataXw)) 1159 Notebook $nb picture={$topGraph(0, 0, 400, 300), -5, 1}, text="\r" 1160 // Notebook $nb picture={$topGraph(0, 0, 400, 300), -5, 1}, text="\r" 1161 Notebook $nb scaling={50, 50}, picture={$topGraph(0, 0, 800, 600), -5, 1}, text="\r" 1160 1162 // 1161 1163 else //must be 2D Gizmo 1162 1164 Execute "ExportGizmo Clip" //this ALWAYS is a PICT or BMP. Gizmo windows are different... 1163 1165 LoadPict/Q/O "Clipboard",tmp_Gizmo 1164 Notebook $nb picture={tmp_Gizmo(0, 0, 400, 300), 0, 1}, text="\r"1166 Notebook $nb scaling={50, 50}, picture={tmp_Gizmo(0, 0, 800, 600), 0, 1}, text="\r" 1165 1167 endif 1166 1168 //Notebook Report picture={Table1, 0, 0}, text="\r" … … 1178 1180 Print "file saved as ",nameStr 1179 1181 SaveNotebook /O/P=home/S=2 $nb as nameStr 1180 //save the graph separately as a P ICTfile, 2x screen1182 //save the graph separately as a PNG file, 2x screen 1181 1183 pictStr += nameStr 1182 1184 pictStr = pictStr[0,28] //need a shorter name - why? … … 1186 1188 /// SavePICT /E=-5/O/P=home /I/W=(0,0,3,3) as pictStr 1187 1189 if(WaveExists(dataXw)) 1188 SavePICT /E=-5/O/P=home/WIN=$topGraph /W=(0,0, 400,300) as pictStr1190 SavePICT /E=-5/O/P=home/WIN=$topGraph /W=(0,0,800,600) as pictStr 1189 1191 else 1190 Execute "ExportGizmo /P=home as \""+pictStr+"\"" 1192 Execute "ExportGizmo /P=home as \""+pictStr+"\"" //this won't be of very high quality 1191 1193 //SavePICT /E=-5/O/P=home/WIN=$topGraph /W=(0,0,400,300) as pictStr 1192 1194 endif
Note: See TracChangeset
for help on using the changeset viewer.