|
From: Thomas S. <t.s...@fz...> - 2008-08-28 19:18:28
|
> Hi all, > > I'm producing scatterplots of data with gnuplot, but as there is a > lot of data all is plotted with pointsize 0.2 (for use with postscript > output). Works very well, no problem here. The problem lies in > the fact the legend is using also that tiny dot to indicate the different > graphs. Is there a way to tell/persuade/fool the legend and using a > line, a different symbol, or a bigger symbol than in the plot? Is there > something like a 'nodata' option in gnuplot? no, but there is the 'notitle' option and the fact, that gnuplot ignores undefined values. these can be used to plot the data without legend and then plot nothing with legend: plot 'datafile' using 1:2 notitle linetype 1 pointtype 1 pointsize 0.2, 0/0 title 'description' with points linetype 1 linewidth 3 pointtype 1 pointsize 5 or a little bit shorter: plot 'datafile' u 1:2 not lt 1 pt 1 ps 0.2, 0/0 t 'description' w p lt 1 lw 3 pt 1 ps 5 -- View this message in context: http://www.nabble.com/legend-with-scatterplot-tp19197722p19207203.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |