> Should this behave this way?

No, it really should not. However, the line pattern calculation is based on
numbers of points, so it will shrink the step size as the number of points
increases, see linepattern in
jsoftware.com/websvn/wsvn/public/trunk/graphics/plot/source/base/util/putil.ijs
.


On Mon, Jul 17, 2017 at 6:13 AM, 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