![]() ![]() If that still doesn't work, a horrible workaround is to run latex, run gnuplot by hand ("gnuplot *.gnuplot"), and then run latex again. Also, despite the instructions above, the latex documentation tells me to use -shell-escape, not -shell-escape, though it seems to accept both.) (I get the same error if I put -shell-escape after the filename. Try putting the filename after -shell-escape: #2 Kjell Magne Fauske, Januat 11:58 Have you checked that gnuplot is available? Try typing gnuplot at the command line.Package pgf Warning: Plot data file `' not found. ![]() Package pgf Warning: Plot data file `index.x.table' not found. Please contact me if you have any suggestions or questions.I'm trying to use this code but I get error messages: Downloadĭowload FarGnuPlot Version 0.42 on github () and save it in the main fargo directory or in any other directory that is included in your $PATH. fargnuplot-0.20 - Added logarithmic scaling and circular plot. fargnuplot is now processing the used_rad.dat file if possible to determine the radiual spacing. fargnuplot-0.31 - Now works with FARGO2D1D (1D cells are ignored for now) fargnuplot-0.30 - Added ‘-curve’ feature to plot average values as a function of radius. The -num command line option works also with -num=0. Fargnuplot can now plot the 1D grid as well (use options -all -nr1D=NUMBEROF1DGRIDCELLS). fargnuplot-0.40 - There was a problem with large grid sizes due to a rounding error issues Fargnuplot uses a random hash for the temporary files to avoid conflicts. Fargnuplot can now output png and eps files. Added lots of coments in source code fargnuplot-0.41 - Fargnuplot can now plot the square plots (-s option). Added code for cleaning up temporary files Added -r=RANGE for specifying the cb range, e.g. Added -lcb parameter for logarithmic scale of cb axis Added -q parameter for plotting of gasToomre files (ideally a tmpfs filesystem for speed up) all plot also the 1D grid (for FARGO-2D1D)įargnuplot -nr=384 -ns=384 out5 => plot the latesįargnuplot in/stockholm_MJ_visc.par => plot the latestįargnuplot -nr=128 -ns=384 -file=out5/gasdens125.datĬhangelog fargnuplot-0.42 (All thanks to Tobias Müller) – Added -temp=DIR for specifying a directory for temporary files curve plot average values as a function of radius clean plots only the data, no borders, no axis c circular plot (default: rectangular plot) t plot gas temperature gasTemperature*.dat vt plot azimuthal velocity gasvtheta*.dat g plot gas density (default) gasdens*.dat nr1D number of radial grid cells in the 1D grid file=FILE plot FILE, need to specify nr and ns as well num=NUM plot file with number NUM in given x exit gnuplot after plotting (implies -p) d do not delete temporary files, usefull But note that this script needs a gnuplot version 4.2 or newer that supports binary files. You can even run this script while fargo is running to analyze the latest files. Once the plot is created, you end up in gnuplot, where you can make further processing such as zooming (use right mouse button in X11 window), saving the plot (“set terminal postscript set output ‘out.ps’ replot”) or changing the colour map. Run ‘./fargoplot -h’ to see all available command line options and more examples. To plot the latest surface density file generated by fargo, you simply enter This perl script generates 2D plots, to quickly check the results of a run. Fargo is a simple and fast 2D polar hydrodynamic code dedicated to planet-disk tidal interactions. ![]()
0 Comments
Leave a Reply. |