简体   繁体   English

Xmgrace 通过批处理文件删除数据集中的特定行

[英]Xmgrace delete specific row in dataset via batch file

I want to delete the first row of dataset.我想删除数据集的第一行。 I tried through Commands window ( Window > Commands ) by typing any:我通过键入以下任何命令尝试通过命令 window ( Window > Commands ):

S0[2][0]
S0[1][0]
S0[1][1]
S0[1:2][1]

But I got errors:但是我得到了错误:

[Error] syntax error: S0[2][0]
[Error] syntax error: S0[1][0]
[Error] syntax error: S0[1][1]
[Error] syntax error: S0[1:2][1]

Is there any way to do this?有什么办法吗?

I got the answer from xmgr commands , this is achieved with command DROP我从xmgr 命令得到了答案,这是通过命令DROP实现的

  • setnum DROP expr, expr setnum DROP expr, expr
  • graphno.setnum DROP expr, expr graphno.setnum DROP expr, expr

Drop points in setnum (or graphno.setnum).在 setnum(或 graphno.setnum)中放置点。 The parameters give the index of the first and last points to drop, respectively.参数分别给出要丢弃的第一个和最后一个点的索引。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM