contour.expression | R Documentation |
contour.function(func,xbase,ybase,add=F)
func |
func is an expression that return value or boolean vector |
xbase |
range of x to loop for |
ybase |
range of y to loop for |
add |
whether to add to the current, existing plot or not |
contour
, ~~~
Exh2d
, ~~~
ImpPlot2d
,~~~
contour(expression(x^2 - .5*y^2-.7)) ## The function is currently defined as contour.expression<-function(x,xbase=seq(from = -5,to=5,by=.1),ybase=seq(from = -5,to=5,by=.1)){ contour(x=xbase,y=ybase,z=Mapply(xbase,ybase,x)) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.