Archive for November 1st, 2009

Pretty In ggplot2

solar-2009-11-01Notice any difference between today’s and the previous days‘ diagrams? :)

First of all, today was the end of 2009 daylight Saving time, and our solar system reflected that in the scatter plot diagram on the right — instead of waking up at 8am, now it wakes up at 7am. I also replaced the pair diagram with a more meaningful histogram, so now we can tell how many readings per 50w. But the more significant differences are the new look. Yup, they are prettier than the previous ones!

solar-2009-11-01-histogramThanks to Hadley Wickham’s ggplot2 package*, I was able to easily produce pretty diagrams after reading his (free!) well-written qplot chapter. Hopefully once I’m done with his book, I’ll be able to produce more meaningful, beautiful statistics diagrams.

But what was the driving force behind this “beautification“? Well, David got intrigued by my R diagrams, and this afternoon he started investigated gnuplot. An hour or so later, his shell script was able to produce a whole week of data in smooth lines! Man, I’d better hurry up, or  I won’t have my job much longer!

*: For those who are interested: The ggplot2 talk he gave at the Bay Area userR Group in Sep. was impressive! You can find his data, code and slides here, and the details in “Beautiful Code” — “Chapter 18 Bay Area Blues: The Effect of the Housing Crisis.”

3 comments November 1, 2009


過去的留不住,
未來的難預測,
守住現在,當下即是。

Calendar

November 2009
S M T W T F S
« Oct   Dec »
1234567
891011121314
15161718192021
22232425262728
2930  

Older Stuff :: 回憶錄

Top Posts :: 排行榜

Categories :: 分門別類

Recent Comments :: 留言

Recent Posts :: 近期目錄

Friends’ Books :: 朋友的書

Friends’ Blogs :: 部落格

Friends’ Websites :: 網站

Currently Playing :: 學習

python-logo django Rlogojava-logo- mysql_logo + MDX OST_Logo

Meta

Blog Stats

Feeds