[R] The beautiful math plot

Gesmann, Markus Markus.Gesmann at lloyds.com
Wed Apr 26 14:42:03 CEST 2006


See:
?image


Markus Gesmann
FPMA
Lloyd's Market Analysis
Lloyd's * One Lime Street * London * EC3M 7HA
Telephone +44 (0)20 7327 6472
Facsimile +44 (0)20 7327 5718
http://www.lloyds.com


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Daniel Yang
Sent: 26 April 2006 13:39
To: R-help at stat.math.ethz.ch
Subject: [R] The beautiful math plot


Dear R-help,

How can I replicate the beautiful math plot found in the right-hand side
of http://www.r-project.org/screenshots/desktop.jpg? I tried the
following code but didn't obtain something as beautiful.

r <- seq(-10, 10, len=100)
y <- cos(r^2)*exp(-r/6)
par(pty="s")
plot(r,y,type="l")



Thanks in advance!
Yung-jui Yang
	[[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
**********************************************************************
The information in this E-Mail and in any attachments is CON...{{dropped}}




More information about the R-help mailing list