All examples By author By category About

ChristosT

CS 725 Information Visualization - VI4

Christos Tsolakis

Live at /christost/77ddbd1e08c11e18a0f7

R Language - Recreation

#Scatterplot
Time <-seq(2005,2011,1)
Price <-c(444.74,603.46,695.39,871.96,972.35,1224.53,1571.52)
plot(Time,Price,ylab="Price $/troy ounce",main="Price of Gold",pch=19,col="blue")

Scatterplot

#Stacked Barchart
A <- c(33,34,1,16,16)
L <- c("Verizon","AT&T","US Cellular","Sprint","T-Mobile")
title <- "Market share of wireless subscriptions in the U.S. for Q3 2015"
barplot(as.matrix(A),legend=L,width=0.7,xlim=c(0,1.5),col=c("blue","lightblue","orange","yellow","green"),main=title)

BarChart

forked from ChristosT's block: CS 725 Information Visualization - VI3