Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2840

Re: sensible defaults?

From giacomo boffi <pecore@pascolo.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: sensible defaults?
Date 2015-03-22 10:30 +0100
Organization The Sun and the Rain.
Message-ID <87twxd4bwr.fsf@pascolo.net> (permalink)
References <87a8z6favz.fsf@pascolo.net> <melh2c$o7a$1@dont-email.me> <87384x5t3m.fsf_-_@pascolo.net>

Show all headers | View raw


giacomo boffi <pecore@pascolo.net> 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 "<fontname>{,<fontsize>}"
|    set termoption fontscale <scale>
|    set termoption {solid|dashed}
|    set termoption {linewidth <lw>}{lw <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?

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[cairolatex] 4.6 -> 5.0 regression giacomo boffi <pecore@pascolo.net> - 2015-03-21 19:44 +0100
  Re: [cairolatex] 4.6 -> 5.0 regression Ethan A Merritt <EAMerritt@gmail.com> - 2015-03-21 21:40 -0700
    sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression) giacomo boffi <pecore@pascolo.net> - 2015-03-22 09:33 +0100
      Re: sensible defaults? giacomo boffi <pecore@pascolo.net> - 2015-03-22 10:30 +0100
      Re: sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression) Ethan A Merritt <EAMerritt@gmail.com> - 2015-03-22 11:20 -0700
        Re: sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression) Alex A <alexandreychenko@gmail.com> - 2015-03-30 06:07 -0700
          Re: sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression) Alex A <alexandreychenko@gmail.com> - 2015-03-30 06:49 -0700

csiph-web