Seonjae Lee
Seonjae Lee

Reputation: 11

Write output file without exiting

How do I make an output of my graph without using 'exit'?? It makes me crazy because when the sizes go wrong, I have to do it from the start again. I did all the stuff like set term pdf and all that. Please tell me what can I do.

Upvotes: 1

Views: 2350

Answers (1)

bibi
bibi

Reputation: 3765

to flush the buffer to the file you need to put a set output after issuing the plot or splot command(s).

example:

set term pdf
set output 'test.pdf'
plot sin(x)
set output

Here is a FAQ answer to your problem

Upvotes: 6

Related Questions