[R] create a '3D line plot'

Jim Lemon jim at bitwrit.com.au
Mon Sep 13 10:09:31 CEST 2010


On 09/13/2010 06:17 AM, Karl Brand wrote:
> Cheers!
>
> All excellent, runable examples helping me progress quickly.
>
> Being more a qualitative plot, the y-axis is less important. But it did
> get me thinking-
>
> Coloring each of the plotted lines, say 'altitude colors' like the
> classic volcano example to reflect the (scaled) values the lines
> represent might be effective at representing individual y-axis magnitude
> for each line. Perhaps gray background at least.
>
> Maybe if there were examples of the lines() func. using colors dependent
> on the y-value? Or some one already made a function for achieving this?
> (Google didnt return anything obvious for me...yet).
>
Hi Karl,
Have a look at the clplot and color.scale.lines functions in the plotrix 
package.

Jim



More information about the R-help mailing list