Brushing up the graphs 4.1 Comfortable input You get help with “ help”, especially with “ help plot”. ymax is automatically determined through the data you plot. Which chooses the range for the x axis and for the y axis. Plot "phi.xl" every :5::10::20 with linespoints You can plot functions ( plot sin(x)) and files. So, if you are not already in the directory containing the output files, go there now. The difference is that the directory name has to be enclosed in double quotes. While in gnuplot you can change directories using the cd command much like you do in your shell. Gnuplot is terminal-driven – that means that you have to type your commands. You will see a long banner of about 20 lines, and then the prompt gnuplot>. (Earlier versions might not support all of the commands mentioned below.) You start gnuplot by typing gnuplot in a terminal. The current version of gnuplot is about 3.7. If gnuplot is not already installed on your machine, either ask your system administrator to install it, or follow the download/installation instructions below. Hash characters are used in gnuplot files, while lonely double quotes are used in xgraph files. If you look into this file, you should see some hash characters ( #) and no lonely double quotes. You should now have an output file called phi.xl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |