跳到主要內容

Grace -- a GNU tool for plots

A WYSIWYG 2D plotting tool for the X Windows System

To plot the 4th and 6th columns in input file with the 4th columns in the x-axis and the 6th in the y-axis:
  • xmgrace -block input.file -bxy 4:6 -pexec 'xaxis label "XLABEL" -pexec 'yaxis label "YLABEL"'
To make NXY plot (the 1st column as the x-axis and the rest are y1(x), y2(x), and so on.
  • xmgrace -nxy input.file
Use piped data:
  • awk '{print $4, $6}' input.file | xmgrace -pipe

留言