Message-ID: <42F1FDCD.4020403@statistik.uni-dortmund.de>
Date: 2005-08-04T11:36:45Z
From: Uwe Ligges
Subject: additional graphical parameters in contour function
In-Reply-To: <002d01c598df$086e4320$7201a8c0@Portableabdou>
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.
But these arguments do not refer to line types at all!
Use "lty" instead as in:
x <- -6:16
op <- par(mfrow = c(2, 1))
contour(outer(x, x), method = "edge", lty=1)
contour(outer(x, x), method = "edge", lty=2)
Uwe Ligges
> Thank.
>
>
>>
>> Uwe Ligges
>>
>>
>>> Thank you for your response.
>>>
>>> Abdou. [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at stat.math.ethz.ch mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide!
>>> http://www.R-project.org/posting-guide.html
>>
>>