I'm using Gnuplot to draw a graph. In the graph I drew three smooth curve belonging to three data sets.
Presently I'm using the following Gnuplot script.
reset
set terminal png
set xlabel "Square matrix size"
set ylabel "Time (in milliseconds)"
set yrange [0:750]
set title "Lower Triangular Matrix"
set key reverse Left outside
set grid
set output 'matrixlt.png'
set style data linespoints
plot "matrixlowertriangle.dat" using 1:2 lt 1 lw 2 smooth bezier title 'MatPro', \
"matrixlowertriangle.dat" using 1:3 lt 2 lw 2 smooth bezier title 'C#' , \
"matrixlowertriangle.dat" using 1:4 lt 3 lw 2 smooth bezier title 'C++'
With the above script I'm getting following graph.
Now I want to draw each point belonging to the same curve using a unique point style. ( For example each point belonging to C# using one point type and C++ data points in a different style.)
I tried some tutorials, but still no luck. Can somebody help me to achieve this task?
Best Answer
I don't have your data so I made some up (it always helps to be helpful if some useful mock dataset is given...):
Based upon your code, I tried
and got
Is that closer to what you want?