hello everyone, I was wondering if anybody can help me solve 2 problems related to the function filled.contour. I am entering the following R command: filled.contour(xx,yy,P1, nlevels=20,color=cm.colors, plot.axes={ contour(xx,yy,P1,add=T,col="grey", nlevels=20, drawlabels=F) axis(1,1:length(xx),labels=xlabels) axis(2,1:length(yy),labels=ylabels) }) which results in the figure attached. Overall the figure looks great. However, my 2 question are: 1) how can I make sure that the contour lines match the shading? you can see from the figure (center left) there's a contour missing. 2) how can I get smoother contours/shading, without so many sharp angles? I appreciate any help from you. thank you so very much for the attention. F. DeSales ____________________________________________________________________________________ Be a better friend, newshound, and
sorry. the figure did not go through. sending again as PDF. hope it will work this time. Thanks ____________________________________________________________________________________ Be a better friend, newshound, and
The see the figure I refer to on my email, please use this link: us.f13.yahoofs.com/bc/480fa972_411e/bc/My+Documents/filled_contour_plot.pdf?bfy26DIBonZ1vybc thanks> hello everyone, > I was wondering if anybody can help me solve 2 > problems related to the function filled.contour. > I am entering the following R command: > > filled.contour(xx,yy,P1, nlevels=20,color=cm.colors, > plot.axes={ > contour(xx,yy,P1,add=T,col="grey", > nlevels=20, drawlabels=F) > axis(1,1:length(xx),labels=xlabels) > axis(2,1:length(yy),labels=ylabels) > }) > > which results in the figure attached. Overall the > figure looks great. However, my 2 question are: > > 1) how can I make sure that the contour lines match > the shading? you can see from the figure (center > left) there's a contour missing. > > 2) how can I get smoother contours/shading, without > so > many sharp angles? > > I appreciate any help from you. > thank you so very much for the attention. > > F. DeSales > > > > >____________________________________________________________________________________> Be a better friend, newshound, and > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. >____________________________________________________________________________________ Be a better friend, newshound, and
I have moved the figure to the link below. thank you ____________________________________________________________________________________ Be a better friend, newshound, and
Fernando De Sales <fhds2000 <at> yahoo.com> writes:> > I have moved the figure to the link below. thankTry again. Better than providing the link for the picture, make the example self-running by providing a fake data set that shows the problem. Dieter