Hi Ryo, I don't know why what you are trying is not working; this is what
-batch is intended for. My experiments with commands such as you
show seem to be working ok. You could try what you're doing but
with the postscript batch option, which will write a postscript
file, but also execute your metafile commands.
Ferret's batch modes store the graphics outputs to files. The
-gif startup option saves graphics command outputs directly to the
gif file. And 'batch' mode needs somewhere to have the graphics
outputs going; either a postscript file or metafile. It doesn't
just store that info in memory, as PyFerret does in its -nodisplay
mode. Moving forward I hope you'll use PyFerret. Then your script
would not need metafile commands (though pyferret will ignore
metafile commands that may be in your existing scripts), and there
doesn't need to be any translation to a metafile to pdf or
postscript, but only a FRAME command with the right file type.
The call would look like: pyferet -nodisplay -script myscript.jnl $n and the script would need only: [plot commands with argument ($1)]
On 12/17/2018 12:28 AM, Ryo Furue
wrote:
|