Hi Alan,

Thanks.  But won't that remove color from the plot?

My goal is to produce a plot that is ready for online or print publications. So it would be nice to have both colors and dashed lines.

Logan

Get Outlook for Android

From: Allin Cottrell
Sent: Saturday, September 3, 10:12 AM
Subject: Re: [Gretl-users] GNUPlot Question
To: Gretl list

On Thu, 1 Sep 2016, Sven Schreiber wrote: > Am 01.09.2016 um 16:47 schrieb Logan Kelly: >> The command used to work, but since an update to GNUPlot (not gretl's >> fault) it doesn't. I am asking if anyone knows of a quick command to >> add various dashed line options (again this is a bit off topic but I >> assume someone else in the gretl community has dealt with this). The >> idea is to make a plot that is in color but also works in grayscale >> for print publication. >> > > Ah OK. Here's a post that I had previously found useful: > http://stackoverflow.com/questions/19412382/gnuplot-line-types > I think this is only semi-offtopic because gretl uses gnuplot so tightly > integrated. > >>> set termoption dashed >>> >>> in the version of GNUPlot packaged with the current snapshot? >>> > > I think this is changed from gnuplot 4 to 5. Quoting from the linked page > above: > [In version 5] "The terminal options dashed and solid are ignored. By default > all lines are solid. To change them to dashed, use e.g. > > set for [i=1:8] linetype i dashtype i" > > So the new gnuplot option 'dashtype' would play the central role. This sort of thing should also work in gnuplot 5.0: set term pdfcairo mono dashed Allin _______________________________________________ Gretl-users mailing list Gretl-users@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-users