C-PLOT

Scientific Graphics and Data Analysis

C.12.4. - Examples



Use awk to multiply the y values by 3:
fn shell.4 awk '{print $1, 3 * $2}'
Use sort to rearrange the data,
fn shell.4 sort -n
This usage sorts the data by x values. (Beware, sort doesn't recognize scientific notation.) Use cat to extract data from an ASCII file,
fn shell.4  cat data
This usage ignores the current data points.