IIRC plot penstyle is not implemented using gl2 penstyle command. Those
dash and dot are simulated using line segments.

On Jul 17, 2017 9:13 PM, "Rudolf Sykora" <[email protected]> wrote:

> Hello,
>
> changing penstyle in a plot, I found it does not do the expected:
>
> ---------------
> load 'plot numeric'
>
> nsteps =. 50
> xs =. steps _2 2, nsteps
>
> pd 'reset'
> pd 'type line'
>
> pd 'penstyle 0'
> pd xs
> pd 'penstyle 1'
> pd -xs
>
> pd 'show'
> ---------------
>
> If nsteps is 5, you can see the second line is dashed.
> If it's, say, 500, you can't see it any more.
> The line segments seem to become very short...
>
> Should this behave this way?
>
> Thanks
> Ruda
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to