only 2 line types? (Re: Multiple plots: oddities (bugs?), missing features in Xmaxima and wxMaxima)



Virgil L <virgilinux at yahoo.com> writes:
> It seems that draw2d only supports 2 line types:
>
> ? line_type;
> ? `line_type' indicates how lines are displayed; possible values are `solid' and `dots'.
>
> However it appears that gnuplot (which is the underlying plotting
> engine) supports at least 4 (maybe more): solid, dashed, dotted, and
> dot-dashed lines (see
> http://t16web.lanl.gov/Kawano/gnuplot/misc4-e.html for example). Those
> 4 types seem to be supported by common plotting tools.
>
> Assuming that the documentation is right about this, is there a
> workaround to get draw2d to provide dashed, dot-dashed and any other
> line type supported by gnuplot?

Mario is the best person to answer this question, but for now I will
share an observation:

The draw package actually accepts two other undocumented line types:
"dashes" and "dot_dash".  However, these only work with the "eps" and
"eps_color" terminals as far as I can tell.  Also (on my system at
least) "dot_dash" does not render as I'd expect, but rather as a plain
dashed pattern, except with shorter dashes than "dashes".

    Best,
     Mark