# [pstricks] filecontents

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Apr 8 22:13:30 CEST 2009

Poul Riis schrieb:
> When I run the file below several times, each time changing some of the
> data points, I get error messages because the data files already exist,
> and the old versions are used. I can manually delete the files but isn't
> there a way to do it automatically from the latex file?
> Furthermore, I would prefer the regression line to be extended to the full
> x-interval of the graph window and not only going from the data point with
> the minimum x to the data point with the maximum x. Is that possible?

see documentation

> \documentclass{article}

\usepackage{filecontents}

> \begin{filecontents*}{semilog.dat}
> 80 340
> 160 450
> 320 550
> 640 1150
> \end{filecontents*}

...

Herbert