MATH 6820 Week 4: Two Scales
The website http://data.worldbank.org/indicator/SP.POP.TOTL?cid=GPD_1 gives the population of many countries for many years.
I collect population data for Honduras from 2002 to 2011,and graph the log (base 2) of the population against year. Construct two scales for your graph where the left vertical scale shows the log (base 2) population and the right vertical scale shows the population.
From the graph, we can see that the population in Honduras is keeping growth for the past ten years, from 2002 to 2011. The the unit of measurement on the right vertical scale is in million and the left log population (base 2) is also in million measurement unit. However, it does not look like exponential.
Interesting part in this graph making:
1.The R help gives us par(mar=par()$mar+c(0,0,0,3)), is that equivalent to par(mar=c(5.1,4.1,4.1,5.1))? Why we will use the “+” in this commend?
2. To limited the decimal, I use the command “format(round(2^seq(2.7,3.0,0.05), 2), nsmall = 2)”
3. what is the best way to add tick mark label on every tick mark? I used the following code:
d <- seq(2.70,3.0,by=0.05) plot(Year, log2(Popu), pch=19,ylab="log2(Millions)",yaxt = 'n') axis (2, at= d)
March 19th, 2013 at 8:25 am
Keep this going please, great job!
>March 19th, 2013 at 10:49 am
Thanks! I will keep doing good:)
>March 25th, 2013 at 11:29 pm
I’ve been browsing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.
>March 28th, 2013 at 6:11 am
May I simply say what a relief to uncover someone who truly knows what
>they’re discussing online. You definitely realize how to bring an issue to light and make it important. More people ought to read this and understand this side of your story. It’s surprising you’re not more popular given that you surely have the gift.
March 29th, 2013 at 1:22 pm
Woah! I’m really enjoying the template/theme of this site. It’s simple,
>yet effective. A lot of times it’s challenging to get that “perfect balance” between superb usability and appearance. I must say you have done a very good job with this. In addition, the blog loads very quick for me on Firefox. Excellent Blog!
March 29th, 2013 at 2:17 pm
Thank you! I will continue contribute my effort on this blog! Keep updating
>March 29th, 2013 at 2:18 pm
Thank you! I am trying my best.
>March 29th, 2013 at 2:19 pm
Thanks!
>April 2nd, 2013 at 12:26 pm
After looking over a handful of the articles on your website, I honestly like
>your way of blogging. I book-marked it to my bookmark site list
and will be checking back soon. Take a look at my web site as well
and let me know your opinion.
April 15th, 2013 at 2:14 pm
Admiring the time and effort you put into your site and detailed information
>you present. It’s awesome to come across a blog every once in a while that isn’t the
same unwanted rehashed material. Fantastic read! I’ve bookmarked your site and I’m adding
your RSS feeds to my Google account.
April 18th, 2013 at 6:16 pm
Thank you! I will keep working on this blog.
>