search for: surpr

Displaying 2 results from an estimated 2 matches for "surpr".

Did you mean: suppr
2008 Jul 26
1
the C function drawing a rectangle: heatmap() -> image() -> do_image() -> GRect() -> GERect() -> rect() -> do_rect() -> GRect() ??
...to do similar things: search for the final C function that corresponding to the drawing of a rectangle? As listed in the subject, I started from heatmap() in R and after several steps reached the GRect() in C. However, then it refers to rect() which further seems to refer to do_rect(), and then, surpringly, do_rect refers to GRect()!!! A dependency circle! How can it work if no functions soly taking the job for drawing a rectangle? I know there must be somewhere wrong in my above function "chain", and can you help me to find it out? Many thanks! -------------- Best wishes, Joh...
2005 Apr 06
0
Polynomiographic function in R :-)
...ticism or advice is welcome :-). Yesterday, I went to a conference by Bahman Kalantari (Rutgers University) about Polynomiography (the Fine Art and Science of Visualizing Polynomials). Since I'm starting my R learning, I decided to try using it for computing some (any!) polynomiograph. I was surprised about how easy and quick it was to get some results. Then I thought it was interesting to extend the drawing to any function, and not necessarily polynomials, yielding the function below: polygraph <- function(expression, xrange=c(-1, 1), yrange=c(-1, 1), points=200,...