![gnuplot lt gnuplot lt](https://i.stack.imgur.com/vORLY.png)
![gnuplot lt gnuplot lt](https://i.stack.imgur.com/8GxNJ.png)
The set samples command takes (optionally) two values, but the second value is only used for 3d plots. In the case of a sine curve, 100 is enough to see a smooth graph, but with a faster changing curve, we may need more. We can also see here that there is not much difference between the graph with 1000 points and 100 points. set style line 1 lc rgb 0060ad lt 1 lw 1.5 - blue set style line 2 lc rgb dd181f lt. We can look at the individual points again (using a sampling rate of 100 as 1000 is too many to clearly see the points) Again, this is just a bunch of points connected by straight lines, but when there are a lot of these, it looks like a smooth continuous curve.
![gnuplot lt gnuplot lt](http://www2.yukawa.kyoto-u.ac.jp/~akira.ohnishi/Lib/Gnuplot/gp40/gp40.gif)
Which produces a much nicer smooth curve. set macros style1 lines lt 4 lw 2 style2 points lt 3 pt 5 ps 2 range1 using 1:3 range2 using. I usually set it to around 1000 with set samples 1000. 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. Gnuplot: An Interactive Plotting Program. Depending on how rapidly the function changes, higher values may be needed. p 'data.dat' u 1:2 w lp linetype 1 p 'data.dat' u 1:2 w lp lt 1 shorten version sets color, dash, width of lines and type, size of points p 'data.dat' u 1:2 w lp linecolor 1 dashtype 1 linewidth 2 pointtype 2 pointsize 3 p 'data.
GNUPLOT LT MAC
Start Gnuplot from your Mac Terminal: gnuplot gnuplot> It prompts you with gnuplot> as shown, but I won’t show that prompt in the examples below.
GNUPLOT LT PATCH
The default is 100 (in 5.0 patch level 6). The latest version of Gnuplot works with both formats without requiring you to specify a column-separator. In order to improve this, I need to increase the sampling rate by using the set samples ? command. We can look at the individual points in order to see what is going on. Here the sampling rate is set pretty low. Suppose that I do plot sin(x) and see this: The number of points that it computes is user settable. Gnuplot doesn't really draw curves for functions - it actually computes the functions at multiple points and connects them with straight lines, similarly to what would happen if you were plotting a data file. You haven't shown what your particular functions are, but this is almost certainly a sampling problem.