Guest User

Untitled

a guest
Apr 4th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. ggplot(df, aes("spikes", "neurons")) +
  2. geom_linerange(aes(ymin = f{c"neurons" - 1.0},
  3. ymax = f{c"neurons" + 1.0})) +
  4. scale_y_continuous() + # make sure y is considered cont.
  5. ylim(1, -1) + # at the moment ymin, ymax are not considered for the plot range (that's a bug)
  6. ggtitle("Spike raster plot") +
  7. ggsave("spike_raster.pdf")
Advertisement
Add Comment
Please, Sign In to add comment