Dear Ying,
A simple way to obtain what you want is the following:
1) Select an x-y mesh where you want to plot the function, using
xs<-seq(xmin,xmax,length.xs)
ys<-seq(xmin,xmax,length.ys)
2) Define f as a function of (x,y) and compute the values of f over the x-y
mesh, by using
zs<-outer(xs,
Hi,
I would like to know how to plot the implicit function. For example,
f(x,y)=0. I'd like to plot x-y figure.
Thanks,
Ying
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www
2 matches
Mail list logo