|
From: sfeam <sf...@us...> - 2015-03-29 21:16:10
|
On Sunday, 29 March 2015 11:07:24 PM Petr Mikulik wrote:
> I see the latest changeset:
>
> + New commands
> + [un}set monochrome {linetype N <line-properties>}
> + set color (same as "unset mono")
> +
> + "set color". Terminal types that used to provide a separate "mono"
> + keyword now trigger "set mono" as appropriate. For example,
> + "set term pdf mono" is equivalent to "set term pdf; set mono".
> + Six default monochrome linetypes are pre-defined. These do not exactly
> + duplicate the idiosynchratic mono linetypes of various pre-version 5
> + terminals (be cairo cgm emf fig pdf post ...). Some further
>
> I would expect the command to be
> set termoption {mono | color}
"set termoption" would only work if the current terminal supported
"mono" as a terminal-specific feature. "set mono" works for all
terminals regardless of whether or not they ever supported a "mono"
keyword in earlier gnuplot versions.
And even for those terminals that [used to] have a "mono" keyword
option, triggering it via "set termoption" would not work in version 5
because the whole system of dot/dash support was fundamentally revised.
The fact that "set term foo mono" wasn't working is exactly what people
have been complaining about, and is the primary reason for the new
approach. I had not anticipated this would be such a big deal, but
apparently it is.
Ethan
>
> as there are already:
>
> set termoption {no}enhanced
> set termoption font "<fontname>{,<fontsize>}"
> set termoption fontscale <scale>
> set termoption {solid|dashed}
> set termoption {linewidth <lw>}{lw <lw>}
>
> Is there any reason for such an inconsistent command (populating the main
> "set" space)?
> I would definitely vote for the "set termopt ..." variant.
>
> ---
> PM
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|