Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2841
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: sensible defaults? (was: [cairolatex] 4.6 -> 5.0 regression) |
| Date | 2015-03-22 11:20 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <men14b$nro$1@dont-email.me> (permalink) |
| References | <87a8z6favz.fsf@pascolo.net> <melh2c$o7a$1@dont-email.me> <87384x5t3m.fsf_-_@pascolo.net> |
giacomo boffi wrote:
> 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?
The idea is to move toward options being universal rather than
specific to a particular terminal or terminal setting.
I agree that it would be nice to have a series of mono setting
built in, analogous to "set colors {default|classic|podo}"
It might logically be controlled by "set colors mono" or just
"set mono". But neither of these is present in 5.0
> 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.
As an alternative to "load 'colors_mono.gp'", I suggest trying
set for [i=1:N] linetype i dashtype i linecolor "black"
Ethan
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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