From murdoch.duncan at gmail.com  Mon Mar 31 11:44:10 2014
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Mon, 31 Mar 2014 05:44:10 -0400
Subject: [Rd] rgl question
In-Reply-To: <CADUbQ5iKuXw_A7R2-6JZk0GK99jEOr2eRBBy2_CdfmKAX2Aj7A@mail.gmail.com>
References: <CADUbQ5iKuXw_A7R2-6JZk0GK99jEOr2eRBBy2_CdfmKAX2Aj7A@mail.gmail.com>
Message-ID: <533938EA.30304@gmail.com>

On 30/03/2014, 9:20 PM, Dominick Samperi wrote:
> Hello,
>
> If I call lines3d(x,y,z) I get lines connecting each point, but
> when I call rgl.lines(x,y,z) I get dashed lines, and adding
> something like type='l' leads to an error message. The
> docs seem to suggest that rgl.lines() calls lines3d(), so
> I would expect the result to be the same.
>
> Any tips would be appreciated.

The difference is in how they use the material properties:  rgl.lines 
sets them permanently, lines3d restores the original value after the 
call.  So I'd guess your call to rgl.lines followed a call to another 
rgl.* function that set the lty property to dashed.

Duncan Murdoch



[Rd] rgl question
Duncan Murdoch