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


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

sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression)

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

Show all headers | View raw


Ethan A Merritt <EAMerritt@gmail.com> writes:

> giacomo boffi wrote:
>
>> I have the following test file
>> 
>> |set terminal cairolatex pdf standalone mono dashed
>> |set output 'test.tex'
>> |test
>> |set output
>
> Version 5.0 differs from earlier versions in several ways.
> This is why it got a new major version number (4->5) rather
> than just a bump from 4.6 to 4.8.
>
> The keyword "dashed" is no longer needed, and indeed is ignored.
> Instead you can set dashed lines at any time.  Please read the
> Release Notes and the section on significant changes in the
> user manual.

Done, thank you.  If one wants monochrome plots (I may be left alone
in the world, but I'd prefer monochrome plots) one would like sensible
defaults but

  "All lines have the property dashtype solid unless you specify
   otherwise."

=======

Having said that I've found "colors_mono.gp",

|# Provide a consistent set of four distinguishable
|# black line types.
|# NB: This does not work with "set term post mono"
|#
|unset for [i=1:8] linetype i
|set linetype 4 dt 1 lw 2 lc rgb "black"
|set linetype 3 dt 3 lw 1.5 lc rgb "black"
|set linetype 2 dt 2 lw 1.5 lc rgb "black"
|set linetype 1 dt solid lw 1 lc rgb "black"
|set linetype cycle 4
|#
|set palette gray

is it possible to auto-load an analogous file when I specify a mono
option in a "set terminal" command?

Or, in any other possible way, is it possible to have sensible
defaults for monochrome plots, especially when working interactively?

The "dashed" option was indeed very convenient. RIP.

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