An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050804/6214a193/attachment.pl
additional graphical parameters in contour function
5 messages · Abdou ALI, Sundar Dorai-Raj, Uwe Ligges
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.
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
Abdou ALI wrote:
Hello, 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? 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
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
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