« Return to Thread: plot range

Re: dashed line

by Thomas Sefzick :: Rate this Message:

Reply to Author | View in Thread

> I have an esthetic problem...
> I have basically two curves which are more or less
> the same.. I want to plot them in a same graph with
> a dashed line..of two different colors...one color for
> each curve ...
>
> so the best would be to have dashed lines which
> are a bit shifted (ideally in quadrature..)
> is that possible???

shifting the dashed pattern along the graph?
or defining two complementary dashed patterns?
don't think that's easy to do...

it depends on the 'terminal' you are using
how dashed lines are implemented.

in case of emulated dashed lines it may be
possible, but for the majority of terminals with
dashed lines capability it is left to the output
device (which may be a printer, plotter, or a
program) to produce dashed lines.

even if there would be some trick it would
apply to a specific terminal only.

> can we set that? or do you have an idea
> of another trick?

for plotting two functions i would combine
a solid and a dashed curve.
use the 'test' command to see which dashed
lines exist for the terminal you are using
and choose the appropriate line types.

 « Return to Thread: plot range