跳到主要內容

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

留言

這個網誌中的熱門文章

SuSE LINUX 9.1 Professional fine tune note

1. Install 9.1 Perfessional in English 2. install nVidia 3D acceleration capibility YOU -> Installable and Installed Patches -> Download NVIDIA(r) Graphics Driver Reboot the system Note: turning off X Window by using telinit 3 , and then, telinit 5 . 3. use of USB dirves Plug it in (It is usually recognized as a SCSI drive so we use /dev/sda1 to mount it). mount -t subfs /dev/sda1 /media/usb to unmount it: umount /dev/sda1 A nice walk through can be found here . gcin , an alternative of xcin? xcin configuration is here . 4. Mount a ISO image as a drive (e.g., mount abcd.iso to /mnt/cdrom) mkdir /mnt/cdrom mount -t iso9660 -o loop /opt/images/abcd.iso /mnt/cdrom