On Tue, 23 Jun 2009, Matthew Brand wrote: > Hi All, > > Just a quick question about outputting plot results to file. I cannot > get it to work. > > > 'output pdf' plot i.10 > > Results in the following message in the Linux terminal: > m...@mb-laptop:~/j64-602/bin$ ls /tmp/sh: : Permission denied > sh: : Permission denied > > > 'output pdf ''/tmp/test.pdf'' 100 100' plot i.10 > Results in a message window popping up: > Unable to write to file: '/tmp/test.pdf' > The file name is invalid. > > I don't mind what format the output is in, I just want to run a script > and dump lots of images of plots to the disk for later analysis. > > Am I using the output option incorrectly?
Now Linux jconsole default output to gtk. I suggest you upgrade the base library if not yet done. I tried you example 'output pdf' plot i.10 it writes the file under ~temp (not ~/temp) what do you get for jpath '~temp' It also opened the pdf file automatically using the configured viewer. J does not like the quote in the second example, the following worked for me. 'output pdf /tmp/test.pdf 100 100' plot i.10 -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
