|
From: Allin C. <cot...@wf...> - 2014-07-01 02:37:32
|
On Mon, 30 Jun 2014, Daniel J Sebald wrote:
> On 06/30/2014 08:45 PM, Daniel J Sebald wrote:
>> On 06/30/2014 08:32 PM, Allin Cottrell wrote:
>>> Is there any way you could provide a global switch to turn off the
>>> "enhanced text" default in gnuplot 5.0? I'm afraid it's a pain to
>>> have to guard against underscores coming out as subscript markers.
>>
>> Allin,
>>
>> You may set whatever parameters you like via the startup script. See
>> "help startup".
>
> I guess I should give an example seeing as you used "set termoption" to
> change the value. Place the following in a startup script:
>
> set term pngcairo noenhanced
> set term qt noenhanced
> set term wxt noenhanced
Thanks. I tried just putting
set termoption noenhanced
into ~/.gnuplot. This works OK for wxt but not for pngcairo,
although oddly enough it suppresses the printing of "enhanced" in
"show term":
<gnuplot-startup>
Terminal type set to 'wxt'
gnuplot> show term
terminal type is wxt 0 noenhanced
gnuplot> set term pngcairo
Terminal type set to 'pngcairo'
Options are ' background "#ffffff" fontscale 1.0 size 640, 480 '
</gnuplot>
No "enhanced" shown for pngcairo (as in my previous post) but
underscores become subscripts all the same.
Actually, although the start-up file approach is certainly useful it
doesn't fully meet the case I'm thinking of. That way I can tweak
the appearance of gnuplot for myself, but not necessarily for other
users of "my" econometric software that uses gnuplot as plotting
engine: I wouldn't want to trample on a ~/.gnuplot file they might
already have, whereas I'd be fine with setting a per-session global
preference if it were available.
Allin Cottrell
|