1) I am trying to launch a system command from a gnuplot script - and it only works partly. The function itself (epstopdf) is called but it doesn't seem to recognize the string in front of it (no file found). If I try to convert a file in the cmd-terminal it works fine (for example: epstopdf test.eps), but in the script the output is generated with a string function as follows:
just realized the if statements in the middle were faulty, == instead of = obviously (now I'm getting an error that a numeric expression was expected but never mind)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello again,
1) I am trying to launch a system command from a gnuplot script - and it only works partly. The function itself (epstopdf) is called but it doesn't seem to recognize the string in front of it (no file found). If I try to convert a file in the cmd-terminal it works fine (for example: epstopdf test.eps), but in the script the output is generated with a string function as follows:
the eps-Output works, but epstopdf gives me an error (logfile says no file found).
2) in the same script I tried to generate the output into a new folder. I tried to use
but it didn't work - possibly for the same reason as above
any help would be much appreciated
have a nice day
JMcO
just realized the if statements in the middle were faulty, == instead of = obviously (now I'm getting an error that a numeric expression was expected but never mind)
ok, apparently eq instead of ==, now at least this error's gone
Last edit: John McOwen 2017-01-25