Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!diesel.cu.mi.it!.POSTED!not-for-mail From: giacomo boffi Newsgroups: comp.graphics.apps.gnuplot Subject: Re: sensible defaults? Date: Sun, 22 Mar 2015 10:30:28 +0100 Organization: The Sun and the Rain. Lines: 51 Message-ID: <87twxd4bwr.fsf@pascolo.net> References: <87a8z6favz.fsf@pascolo.net> <87384x5t3m.fsf_-_@pascolo.net> NNTP-Posting-Host: ppp-86-26.21-151.libero.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: virtdiesel.mng.cu.mi.it 1427016628 11163 151.21.26.86 (22 Mar 2015 09:30:28 GMT) X-Complaints-To: abuse@diesel.cu.mi.it NNTP-Posting-Date: Sun, 22 Mar 2015 09:30:28 +0000 (UTC) User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux) Cancel-Lock: sha1:stF84Xy4n2HE0KS5rJk3YKkqxEI= Xref: csiph.com comp.graphics.apps.gnuplot:2840 giacomo boffi writes: > Or, in any other possible way, is it possible to have sensible > defaults for monochrome plots, especially when working > interactively? At page 166 of the fine manual I finally found what I need! | The set termoption command allows you to change the behaviour of the | current terminal without requiring a new set terminal command. Only | one option can be changed per command, and only a small number of | options can be changed this way. Currently the only options accepted | are | | set termoption {no}enhanced | set termoption font "{,}" | set termoption fontscale | set termoption {solid|dashed} | set termoption {linewidth }{lw } Let's try it |$ gnuplot | | G N U P L O T | Version 5.0 patchlevel 0 last modified 2015-01-01 | | Copyright (C) 1986-1993, 1998, 2004, 2007-2015 | Thomas Williams, Colin Kelley and many others | | gnuplot home: http://www.gnuplot.info | faq, bugs, etc: type "help FAQ" | immediate help: type "help" (plot window: hit 'h') | |Terminal type set to 'qt' |gnuplot> set term pdfcairo mono |Terminal type set to 'pdfcairo' |Options are ' transparent enhanced fontscale 0.5 monochrome size 5.00in, 3.00in ' |gnuplot> set termoption dashed no message of sort! it must be OK... |gnuplot> set out 'pippo.pdf' |gnuplot> plot sin(x), cos(x) |gnuplot> set out |gnuplot> ! evince pippo.pdf & |gnuplot> but wait... both lines are solid lines... is this a bug? what else can I try?