Points
Point Size
Example will be: plot sin(x) with points, sin(x+1) with points pointsize 2, sin(x+2) with points pointsize 4
Point Size |
Point Type
Example will be: plot x+1 with points pointtype 1, x+2 w p pt 2, x+3 w p pt 3, x+4 w p pt 4, x+5 w p pt 5
Point Type |
If I want to define my own point type, we can use the commands as below:
Lines Point
Point Type
Example command will be: plot sin(x) with linespoint pointtype 6, sin(x+7) w lp pt 7, sin(x+8) w lp pt 8
plot sin(x) with linespoint pt "ß",sin(x+1) with linespoint pt "Y",sin(x+2) with linespoint pt "#"
For example, we take the following table
x y size 1 1 0.6 2 2 0.9 3 3 0.7 4 4 2 5 5 0.9
We overlap the plot with linespoint to understand the relative sizes of circles. To make this work, the table should always have the third column mentioning the diameter of circles. The command
gnuplot> set style fill transparent solid 0.2 noborder gnuplot> plot 'num.dat' using 1:2:3 with circles, 'num.dat' using 1:2:xtic(1) with linespoint
Results in this graph.
gnuplot> set style fill transparent solid 0.2 noborder gnuplot> plot 'num.dat' using 1:2:3 with circles, 'num.dat' using 1:2:xtic(1) with linespoint
PieChart
GnuPlot doesn't support PieChart.
No comments:
Post a Comment