Marc,
Thank you very much for your reply! It helps tremendously!
best,
Z
On Fri, Mar 15, 2013 at 2:37 AM, Marc Girondot wrote:
> Le 14/03/13 18:15, Zhuoting Wu a écrit :
>
> I have two follow-up questions:
>>
>> 1. If I want to reverse the heat.colors (i.e., from yellow
to add the same legend to this 3d plot?
I'm new to R and try to learn it. I'm very grateful for any help!
thanks,
Z
On Thu, Mar 14, 2013 at 9:56 AM, Zhuoting Wu wrote:
> Marc,
>
> Thank you so much! It works! I really appreciate your help!
>
> best,
> Z
>
>
t; par(mar=c(5, 4, 4, 2) + 0.1)
>
> image.plot( legend.only=TRUE, zlim= c(min(z), max(z)), nlevel=128,
> col=heat.colors(128))
>
>
>
>
> Le 13/03/13 17:36, Zhuoting Wu a écrit :
>
> Thanks Marc! I tried the colorbar.plot and image.plot.
>
> The colorbar.plot gives
I have a 3 column dataset x,y,z, and I plotted a 3d scatter plot using:
cols <- myColorRamp(c(topo.colors(10)),z)
plot3d(x=x, y=y, z=z, col=cols)
I wanted to add a legend to the 3d plot showing the color ramp. Any help
will be greatly appreciated!
thanks,
Z
[[alternative HTML version de
4 matches
Mail list logo