I offer to you some solutions for Windows user only,
- FIRST : check whether your computer can run gnuplot or not
Start > Run type gnuplot and press OK
Gnuplot should appear after you call it, otherwise you should download gnuplot from here - If you still fail, make sure that you make your file title in one word only!. for example , don't type like this : my report.tex , but type like this myreport.tex and this solution is extremely important for my case. I don't need to to try solution number 3 and or 4 anymore.
- Try one of below command in user command. For LaTex editor Texmaker or TexStudio, you can find in Options > Configure Texstudio > Quick Build then select User and then add one of command below :
%& --shell-escape
%& -enable-write18
%& -shell-escape
%& -shell-escape-enable-write18
%& --shell-escape-enable-write18
- check your gnuplot in
right click my computer > system properties > Advanced > Environment Variables
look at System variables , click New , then fill
Variable name : gnuplot
Variable value : c:\program files\gnuplot\bin (depend on location of your gnuplot program)
and then press OK - or.... if the above efforts still not successful, maybe you should try the answer from Harish Kumar here . You need to tick Add application directory to your PATH environment variable during gnuplot installation process. This solution works for Windows Vista and Windows 8. Maybe it can be used for Windows 7 too.
I hope the above solutions can help you, if not, I am sorry, maybe other expert will help you.
No comments:
Post a Comment