Hi, If your using the input file mode, another way could be :
--- In the same file in different column : X / Yobs / Ycalc / Yobs-Ycalc xdd_out xy.txt load out_record out_fmt out_eqn {" %11.5f " = X;" %11.5f " = Yobs;" %11.5f " = Ycalc;" %11.5f\n" = Yobs-Ycalc;} --- The hkls in tth or dspace: phase_out hkl.txt load out_record out_fmt out_eqn {"%3.0f" = H;" %3.0f" = K;" %3.0f" = L;" %3.0f" = M;" %11.5f" = D_spacing;" %11.5f" = 2 Rad Th;" %11.5f\n" = 0;} Work perfectly for exporting to gnuplot. Yves, -- Watier Yves PhD Student, European Synchrotron Radiation Facility (ESRF) Experiments Division / Materials Science Group ID31 high resolution powder diffraction beamline. 6 Rue Jules Horowitz, BP 220, 38043 Grenoble, Cedex 9, France. Office: 10.01.06 Tel. (+)33(0)4.76.88.29.67 Fax. (+)33(0)4.76.88.27.07 http://www.esrf.fr/UsersAndScience/Experiments/MaterialsScience/ID31/