Showing posts with label styles. Show all posts
Showing posts with label styles. Show all posts

Wednesday, July 16, 2014

Gnuplot pdf terminal dashed lines

To set pdf terminal in Gnuplot, check if the output of command "print GPVAL_TERMINALS" contains "pdfcairo" listed. If yes, then you can set the terminal output as PDF using the command

set terminal pdf
set output 'out.pdf'

To enables dashed lines when using PDF terminal in gnuplot, as pointed out in reference [1], set the terminal using the command below

set terminal pdf monochrome dashed
set output 'out.pdf'

References:
1. http://theletterpsi.blogspot.com/2010/11/setting-dashed-line-style-on-pdf.html
2. http://stackoverflow.com/questions/14004797/gnuplot-pdf-output