Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/actions.php on line 38
out_gnuplot [topas wiki]

User Tools

Site Tools


out_gnuplot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

out_gnuplot [2009/11/18 17:03] – created dch3slout_gnuplot [2022/11/03 15:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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
 +
 +<code topas>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;
 +   }
 +}
 +</code>
 +
 +<code topas>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;
 +   }
 +} </code>