[R] Need to study and learn about better plots

Dirk Eddelbuettel edd at debian.org
Thu Jul 2 17:36:53 CEST 2009


On 2 July 2009 at 11:14, Steve Lianoglou wrote:
| On Jul 2, 2009, at 10:39 AM, Mark Knecht wrote:
| > 2) The closest example of the second would be a multi-study chart sort
| > of like is typical in a lot of stock charting programs. Here's (I
| > hope) a simple example:
| >
| > http://stockcharts.com/h-sc/ui?s=BAC
| 
| One thing you could do is to peruse the R Graph Gallery to see what  
| people can do:
| 
| http://addictedtor.free.fr/graphiques/
| 
| In particular, the graph below looks *somehow* similar to the chart  
| you link to.
| 
| http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109

And this one

  http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=65

as it provides an example of using layout() to simply stack a few charts
with a common x-axis.

Layout is quite powerful, but somewhat old-school. A short tutorial on
layout() is on page 49 at the end of the PerformanceAnalytics tutorial:

http://www.rinfinance.com/presentations/PA%20Workshop%20Chi%20RFinance%202009-04.pdf

Hth, Dirk

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list