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

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;
   }
}	
out_gnuplot.txt · Last modified: 2022/11/03 15:08 by 127.0.0.1