this is for holding javascript data
Brandon Holt adjust figure 4 (move legend to bottom)
about 9 years ago
Commit id: baba9560714e0fdf246f378ca9c41fe4d7d1c1aa
deletions | additions
diff --git a/rmd/paper.Rmd b/rmd/paper.Rmd
index 3f3d317..7d5c049 100644
--- a/rmd/paper.Rmd
+++ b/rmd/paper.Rmd
...
We use a simple model of user behavior to determine when and which posts to repost. Each time we load the most recent posts in a timeline for a random user (uniformly selected), they are sorted by the number of times they have already been reposted, and a discrete geometric distribution, skewed toward 0, is used to select the number of these to repost. This results in the "viral" propagation effect that is observed in real social networks. \autoref{reposts} shows the distribution of the number of times a post was reposted, which is again a power-law distribution. Note that a small number of posts are reposted so much that they end up on over a quarter of users' timelines.
```{r throughput, include=F,
fig.height=2.1} fig.width=2.5, fig.height=2.8}
d <- data(db("
select * from tapir where
generator_time is not null and total_time is not null
...
expand_limits(y=0)+
facet_wrap(~workload)+
theme_mine+
theme(legend.position='right', legend.direction='vertical', legend.title.align=0)+ theme(legend.position=c(0.5,-0.25), plot.margin=unit(c(.5,.5,8,.5),'mm'), legend.direction='horizontal', legend.title.align=1)+
cc_scales(title='Concurrency\ncontrol:')
```
\begin{figure}[t]