![]() Several functions can be plotted with one plot command by separating functions (and options) with a comma. Gnuplot> plot sin(x), cos(x) title "c", x plot is used to plot 2-d functions and data, while splot plots 3-d surfaces and data. Plot plot and splot are the primary commands in Gnuplot. ![]() Type `help` to access the on-line reference manual. Thomas Williams, Colin Kelley and many others An interactive gnuplot session is started. In the command prompt, type gnuplot (Here UNIX type environment is assumed). Any number of commands may appear on a line (with the exception that `load` or `call` must be the final command), separated by semicolons ( ). All command names may be abbreviated as long as the abbreviation is not ambiguous. ![]() Shell escapes and command line substitution. Support for many output devices and file formats ![]() User-defined X and Y ranges (optional auto-ranging), smart axes scaling, smart tic marks. Also support for plotting data files, to compare actual data to theoretical curves. Gnuplot exits after the last file is processed. If files are given, gnuplot loads each file with the load command, in the order specified. Gnuplot is a command-driven interactive function plotting program. color components as usual.Plot| Splot| Output| Data| Multiplot| Batch Please note that even if called `rgbformulae` the formulas might actually determine the, or, or. AFM hot (black-red-yellow-white)Ī full color palette in HSV color space 3,2,2. color printable on gray (black-blue-violet-yellow-white) 33,13,10. ocean (green-blue-white) try also all other permutations 21,22,23. traditional pm3d (black-blue-red-yellow) 3,11,6. Some nice schemes in RGB color space 7,5,15. 1-gray passed into the formula, see also `positive` and `negative` options below). Negative numbers, like `3,-11,-6`, mean inverted color (i.e. The available mapping functions are listed by `show palette rgbformulae`. #set terminal post set term po eps color set output 'sol_xt.eps' #set size square set size 2,2 set ticslevel 0 #set pm3d map set pm3d #set palette rgbformulae 33, 13, 10 set palette defined (-1 "blue", 0 "white", 1 "red") #set view map set view 30,30 #set samples 201, 201 #set isosamples 22, 22 #unset surface #set contour base #set cntrparam bspline #set cntrparam levels auto 22 #set style data lines set title " " set xlabel "x" set xrange noreverse nowriteback set ylabel "t" set yrange noreverse nowriteback set zlabel " " #set border 3 #set xtics nomirror #set ytics nomirror #unset xtics #unset ytics #set zlabel offset character 1, 0, 0 font "" textcolor lt -1 norotate set zrange noreverse nowriteback #splot "sol_xt.dat" splot "sol_xt.dat" with pm3d sol_xt.eps gnuplot을 사용할 때, 2D plot에서 정보저장 방식이 특이하다.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |