why do you need 'replot'?
wouldn't it be enough to:
set terminal postscript eps enhanced colour dashed lw 1 "Helvetica" 14
set output "1.eps"
plot "./ReportDataConvergence.out" u 1:10 w l
set output "2.eps"
plot "./ReportDataConvergence.out" u 1:7 w l
set output
nina_n wrote:
>
> Hallo everyone,
>
> to save the plot-results in a eps file, I have written a save.plt file as
> follows:
>
> set terminal postscript eps enhanced colour dashed lw 1 "Helvetica" 14
> set output "1.eps"
> replot
>
> giving the the command : load 'save.plt' the 1.eps will be generated. it
> works !
>
> my problem:
>
> In order to save several plots all at once, I have enhanced the file
> save.plt as follows and it doesn't work.
>
> set terminal postscript eps enhanced colour dashed lw 1 "Helvetica" 14
>
>
> set terminal postscript eps enhanced colour dashed lw 1 "Helvetica" 14
> plot "./ReportDataConvergence.out" u 1:10 w l
> set output "1.eps"
> replot
>
> plot "./ReportDataConvergence.out" u 1:7 w l
> set output "2.eps"
> replot
>
> the problem is the the first eps file 1.eps will be overwritten by the
> 2.eps and the plot is also shifted ....
>
> I would be very gratefull, if anybody could help me !
>
> Best regards
> Nina
>
>
>
--
View this message in context: http://old.nabble.com/save-the-current-plot-as-a-eps-or-postscript---file-tp34477895p34481836.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|