Thursday, October 6, 2011

Notes on xmgrace

  • Hotkeys:
    • Ctrl L: Move current graph legend
    • Ctrl M: Move an object
    • Ctrl T: Place timestamp
  • Set font color for plot legend
    • Click on the plot and prefix the legend string by \R{red} (for red color)
  • Transform axis tick label from length to angle in degree (acceptable expressions)
    atan($t/100)*180/PI
  • Set the number of decimal digits to N on the transformed axis tick labels
    I had to multiply the result by 10^N and round it to an integer then divide by 10^N. For e.g. the following will set the number of decimal digits to to 2
    rint(atan($t/100)*180/PI*100)/100

No comments: