Skip to content
Back to formatted view

Raw Message

Message-ID: <5089173D.4090205@bitwrit.com.au>
Date: 2012-10-25T10:41:01Z
From: Jim Lemon
Subject: Changing radii line type in radial plots
In-Reply-To: <1351102008679-4647339.post@n4.nabble.com>

On 10/25/2012 05:06 AM, bwone wrote:
> I am using the package plotrix radial.plot(). Yes, radial.plot() has a line
> type argument, lty, but that is for the polygons or the radial lines, not
> the radii or axes of the radial plot.....unless I am doing something wrong.

Hi bwone,
No, there is no way to change the line type of the grid in radial.plot 
at the moment. If you need to have different line types, you could 
change two lines in the function:

polygon(xpos,ypos,border=grid.col,col=grid.bg)
to
polygon(xpos,ypos,border=grid.col,col=grid.bg,lty=my.lty)

if(show.radial.grid) segments(0,0,xpos,ypos,col=grid.col)
to
if(show.radial.grid) segments(0,0,xpos,ypos,col=grid.col,lty=my.lty)

I might be persuaded to add yet another argument to the function if 
anyone else wants different line types.

Jim