The first line tells gnuplot to use a comma instead of whitespace to seperate the data (thus parsing the csv). 'svenBR.dat' using 1:2 w l lw 0.5 lt rgb 'blue', 'johannesBR.dat' using 1:2 w l lw 0.5 lt rgb 'green','sunjayBR.dat' using 1:2 w l lw 0.5 lt rgb 'yellow','mariamBR.dat' using 1:2 w l lw 0.5 lt rgb 'red','zhuangBR.dat' using 1:2 w l lw 0.5 lt rgb 'purple','zijuanBR.dat' using 1:2 w l lw 0. Create a file named example.gnuplot in the same folder as your csv file and put the following in there: set datafile separator ',' plot plot.csv using 1:2 with lines, '' using 1:3 with lines. These may differ in color, in thickness, in dot/dash pattern, or in some combination of color. gnuplot also provides scripting capabilities, looping, functions, text processing, variables, macros, arbitrary pre-processing of input data (usually across columns), as well ability to perform non-linear multi-dimensional multi-set weighted data fitting (see Curve fitting and LevenbergMarquardt algorithm). gnuplot Share asked at 19:45 Knoblauch 5,940 6 35 83 So was that your solution If you use lc in a line style definition, the lt part is only to choose the dash type. Plot 'oliverBR.dat' using 1:2 w l lw 0.5 lt rgb 'black', Each gnuplot terminal type provides a set of distinct linetypes. log u 2:(3/spacing - i) w lp t lt 7, for i0:maxlevel f(x)/spacing - i t lt 1 gnuplot Corresponding wavelet decomposition plot for. then gnuplot would place the grid lines at y2tics all right, but the grid lines at ytics would also be green. gnuplot> set term postscript eps enhanced gnuplot> set linestyle 1 lt 1 lw 1 gnuplot> set linestyle 2 lt 2 lw 1 gnuplot. Lw 0.5 lt rgb 'yellow','mariamBR.dat' using 1:2 w l lw 0.5 lt rgb 'red','zhuangBR.dat' using 1:2 w l lw 0.5 lt rgb 'purple','zijuanBR.dat' u gp anycodings_gnuplot script and loaded it, it says multiplot> 'svenBR.dat' using 1:2 w l lw 0.5 lt rgb 'blue', 'johannesBR.dat' using 1:2 w l lw 0.5 lt rgb 'green','sunjayBR.dat' using 1:2 w l Recently I started plotting with gnuplot and anycodings_gnuplot have a problem plotting multiple curves into anycodings_gnuplot one graphical diagram.
0 Comments
Leave a Reply. |