[R] additional graphical parameters in contour function

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Thu Aug 4 13:34:27 CEST 2005



Abdou ALI wrote:
>>>Do you know why additional graphical parameters (like "type","pch", ...) 
>>>do not work in the R contour fonction. For example the command 
>>>'contour(..., type="o",pch=16)' gives nothing, just simple contour lines.
>>
>>Please, can you explain why you think it does make sense here?
>>
> 
> The reason is that I want to add on a same graphic several contour plot, and 
> I want to give different line types for each contour. I thus thought that 
> these options of the contour function made it possible to do it.
> 
> Thank.
> 
> 
Hi, Abdou,

Then use "lty", not "type", as is shown in ?contour.

--sundar




More information about the R-help mailing list