Trace: • out_gnuplot
Out_Gnuplot_
Description: produce hkl labels and plots to use in gnuplot
Comment: lets you manipulate plots quickly using gnuplot command line functionality
Contributed by: John Evans
macro Out_gnuplot_labels(file) { out file Out_String("# put quotation marks round hkl labels; change yoffset value to move labels\n") Out_String("set nolabel\n") Out_String("yoffset=1\n") phase_out file append load out_record out_fmt out_eqn { "set label %3.0f" = H; " %3.0f" =K; " %3.0f" = L; " at %11.5f" = 2 57.2957795130823 Th; ", %11.5f * yoffset \n" = I_after_scale_pks; } }
macro Out_gnuplot_tics(file) { phase_out file append load out_record out_fmt out_eqn { " %11.5f" = 2 57.2957795130823 Th; " %11.5f\n" = I_after_scale_pks; } }