xmgrace

Bash script which plots data using XMGRACE tool

允我心安 提交于 2020-01-05 09:45:11
问题 I have written a bash script that generates files containing data and saves them to a directory. I would like my script to also plot these files using xmgrace. Initially I just need a command line or series of command lines that will create an xmgrace file, save it, choose the scales of the y and x axis, set the y axis to be logarithmic, label the x and y axis and title the graph. I have tried the line to start with xmgrace filename xaxis label "Label 1" yaxis label "Label 2" PRINT TO

How to make a hat vector character in xmgrace

独自空忆成欢 提交于 2019-12-24 10:37:51
问题 How can I make a hat vector character in XMGRACE? I've been trying all combinations for two hours now. 回答1: To be honest, doing something like that is annoyingly difficult in xmgrace. In this case, the most easy route would be to use a superscript and shift it to the left with the \h command: v\S\h{-0.6}^ which results in something like this: It is not particularly pretty, but it does the job (I guess). The full list of available commands can be found here. 来源: https://stackoverflow.com

How to use batch script with xmgrace

主宰稳场 提交于 2019-12-20 04:15:54
问题 I am trying to use a batch script to plot data with xmgrace. However, I have encountered major problems in trying to find documentation on how to do this. I am trying to produce a panel plot, with graphs looking like this: I am having problems with three things in doing so: 1) I want to be able to specify the limits of the x- and y-axis for each graph in the panel plot (or even better for all graphs at the same time) and I haven't found how to do this. 2) The data is stored in six columns in