|
From: Hans-Bernhard B. <br...@ph...> - 2005-07-06 12:11:02
|
Daniel J Sebald wrote:
> gnuplot> set key right outside top right
> ^
> warning: Multiple horizontal position settings
>
> where the second occurrence of the horizontal position overrides the
> first occurrence? This would be setting a precedent perhaps for
> multiple specs for all commands?
Actually I think we already have some precedence for repeated options.
See set.c:set_label(), and all the TBOOLEAN flags like set_position are
handled: repetition of "strong" options is treated as an error:
gnuplot> set label 'text' at 1,2 at 3,4
^
extraneous or contradicting arguments in label options
The difference in your current "set key" is that some options' effects
are "weak", i.e. they only set a default for some other choice, which is
expressly allowed to be overwritten by an explicit specification.
|