0

I want to delete the first row of dataset. I tried through Commands window (Window>Commands) by typing any:

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?

mspilsbury
  • 36
  • 6

1 Answers1

1

I got the answer from xmgr commands, this is achieved with command DROP

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

Drop points in setnum (or graphno.setnum). The parameters give the index of the first and last points to drop, respectively.

mspilsbury
  • 36
  • 6
  • Good job! Feel free to accept your own answer. You won't get any rep, but it may help others in the future. – lr1985 Oct 07 '21 at 09:47