[R] additional graphical parameters in contour function

2005-08-04 Thread Abdou ALI
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.
Thank you for your response.

Abdou. 
[[alternative HTML version deleted]]

__
R-help@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


Re: [R] additional graphical parameters in contour function

2005-08-04 Thread Uwe Ligges
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@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

__
R-help@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


Re: [R] additional graphical parameters in contour function

2005-08-04 Thread Abdou ALI

 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@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


__
R-help@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


Re: [R] additional graphical parameters in contour function

2005-08-04 Thread Sundar Dorai-Raj


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

__
R-help@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


Re: [R] additional graphical parameters in contour function

2005-08-04 Thread Uwe Ligges
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@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



__
R-help@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