[pstricks] ignore first n rows with \readdata

Herbert Voss Herbert.Voss at alumni.tu-berlin.de
Wed Mar 30 20:51:43 CEST 2005


----- Original Message ----- 
From: "Patrick Drechsler" <patrick at pdrechsler.de>
To: <pstricks at tug.org>
Sent: Monday, March 28, 2005 4:55 P
Subject: [pstricks] ignore first n rows with \readdata

> Is there a way to tell `\readdata' to ignore the first n row(s)
> in a data file?
> 
> I often have column names in the first row(s) as in
> 
> time forcex forcey
> 0 0 0.2
> 0.1 19 -20
> 0.2 18 -22

read the data with \readdata{\data}{filename}, then define
\pstVerb{/time {} def /forcex {} def /forcey {} def }

now it should be possible to use it in the usual way. I cannot
test it, because I have no running system until weekend.

Herbert





More information about the PSTricks mailing list