|
From: <HBB...@t-...> - 2007-11-21 22:40:43
|
pl...@pi... wrote: > One thing I've often wanted on working with SVG is a means to get a > readable file at the end of a plot command without having to unset > terminal to write out the xml terminators and close the file. Unsetting the terminal is completely unnecessary. You will have to close the plot though, i.e. "unset output". gnuplot cannot possibly write the closing tags if you didn't tell it you're done with writing to the file. > For example , if I output to jpeg or png, I get a readable file after the > plot command. With svg I dont. The reason for the difference is that JPEG only allows one page per file, SVG allows as many as you wish. > Would it make sense to have gnuplot terminate the unmatched tags until a > further command is given in either of the following cases: > > 1/ end of .gnu file input from load "filename" . If svg terminal is still > open , close unmatched tags. Absolutely no. Not all loaded scripts end the output file. > 2/ interactive use after plot command close tags while awaiting further > input. Absolutely no, for basically the same reason. |