我知道如果我这样做:
xmgrace file1 file2 file2
Run Code Online (Sandbox Code Playgroud)
将有三组不同颜色的图表,如果这些文件中有多列,则第二列将针对第一列绘制.
如果我想为所有人制作第3对第1对象怎么办?
我试过了
xmgrace -block file1 file2 file2 -bxy 1:3
Run Code Online (Sandbox Code Playgroud)
这不起作用
谢谢你的帮助!
解:
有必要为每个文件指定-block标志和-bxy col1:col2标志/信息.
xmgrace -block file1 -bxy 1:3 -block file2 -bxy 1:3 -block file3 -bxy 1:3
Run Code Online (Sandbox Code Playgroud)
说明:
从xmgrace手册:
Run Code Online (Sandbox Code Playgroud)-block file Assume the data file is block data
-bxy x:y:etc.
Form a set from the current block data set using the current set
type from columns given in the argument
Run Code Online (Sandbox Code Playgroud)
如果要从同一文件中绘制多组列,则只需使用-block一次,指定当前块数据集,然后使用-bxy从当前块数据集形成数据集:
xmgrace -block file1 -bxy 1:3 -bxy 1:4 -bxy 1:5
Run Code Online (Sandbox Code Playgroud)
对于多个文件,例如您正在尝试的内容,您必须按顺序将每个文件指定为"当前"块数据集,并且每次使用时从所需列创建新集-bxy n:m.
键入更耗时,但遵循单个数据文件情况的逻辑进展.