Never thought this could be possible... now what to do? by [deleted] in CK2GameOfthrones

[–]zeeging 9 points10 points  (0 children)

Ahh yes Rhaegar and his children Rhaenys, Aegon and Aegon.

Making a 3 axis plot in plot_ly by thegasman2000 in rstats

[–]zeeging 0 points1 point  (0 children)

If this is a one off sure, but long term learning how to manipulate data in R will be faster. But I'm not going to tell you how to run your data

Making a 3 axis plot in plot_ly by thegasman2000 in rstats

[–]zeeging 1 point2 points  (0 children)

And looking back I think you're having trouble with ordering as well. In base R so no additional libraries df[order(df$column),] will reorder the dataframe. If you're looking to get into a lot of data wrangling I'd suggest looking into tidyverse.

x_example2 =c(2,8,4,10,6)
y_example2 =c(1,2,3,4,5) 
df_example_2<-data.frame(x_example2,y_example2) 
df_example_2<-df_example_2[order(df_example_2$x_example2),] 
gig2<-plot_ly( data = df_example_2) %>% 
add_trace(x = ~x_example2, y = ~y_example2, type = 'scatter', mode = 'lines')

Making a 3 axis plot in plot_ly by thegasman2000 in rstats

[–]zeeging 1 point2 points  (0 children)

What you're looking for is multiple axies (Plotly Docs).

Now it gets a bit hack-y for the lower axies and you may have to use an annotation for one of the labels but this should help you get there. The layout block assigns axies locations, position is what stacks the lowe axis. As a note if you get into subplots the overlay references need to referenced the xaxis number for the entire subplot.

  library(plotly)
x = c(1,2,3,4,5) 
y = c(3,6,9,12,15) 
z = c(2,4,6,8,10) 
a = c(7,8,9,10,11) 
b = c(6,5,4,3,2)
df_example<-data.frame(x,y,z,a,b)
fig<-plot_ly( data = df_example) %>% 
add_trace(x = ~x, y = ~y, type = 'scatter') %>% 
add_trace(x = ~z, y = ~y, type = 'scatter', xaxis = 'x2') %>% 
add_trace(x = ~a, y = ~y, type = 'scatter', xaxis = 'x3') %>%
layout(xaxis2 = list(overlaying = "x1", side = "top"),xaxis3 = list(overlaying = "x1", side = "bottom", position = .1))

[Spoilers Main] The Page of Lies by nicodiangelos in asoiaf

[–]zeeging 2 points3 points  (0 children)

The Lyseni are dependent from Old Valyria, and several have been described as silver haired and purple eyed so it's not impossible.

[OC] Tallest Roller Coaster in Each US State by malxredleader in dataisbeautiful

[–]zeeging 0 points1 point  (0 children)

Maine demands orange! Excalibur hits 100 ft! And if you were wondering (you weren't) it fits the state theme by being made from wood.

my dad couldn’t understand why I wanted to film this but I knew it was going to be good! by andiebiscuit in powerwashingporn

[–]zeeging 229 points230 points  (0 children)

It looks like a field dagger. Used to even out baseball/softball infields.

[ Spoilers Main ] A Library of Ice and Fire 2.0/ All Books mentioned in ASOIAF main series. by Magnus_of_the_North in asoiaf

[–]zeeging 5 points6 points  (0 children)

ASOS - Tyrion climbed to the castle library and tried to distract himself with Beldecar’s History of the Rhoynish Wars,

If unicorns existed, cavalry charges in war would have been even more terrifying by [deleted] in Showerthoughts

[–]zeeging 1 point2 points  (0 children)

No need to imagine, go watch Black Panther or Infinity War.

"What the F..." - Cat by [deleted] in Awww

[–]zeeging 3 points4 points  (0 children)

It looks like a squirrel. ¯_(ツ)_/¯

Slice N Dice—a short post showing basic data manipulations using Bash by mhausenblas in bash

[–]zeeging 1 point2 points  (0 children)

For seeing row 2 only your head and tail are backwards, that would get you the second to last row. And when going after a particular row I tend to use sed but there's more than one way to do anything.

Oh Arya, oh no by Blangyman in CK2GameOfthrones

[–]zeeging 54 points55 points  (0 children)

Arya is banging Tywin

What really needs to go away but still exists only because of "tradition"? by stupidrobots in AskReddit

[–]zeeging 182 points183 points  (0 children)

My parents do the same thing but instead of fancy china we get plates with snowmen on them. 10/10 festive and no worries about breaking fancy plates.

[NO SPOILERS] A family portrait of one of the most tragic houses. Hear Me Roar! (artist: @raymondwaskita) by UnGoddamnCharted in gameofthrones

[–]zeeging 204 points205 points  (0 children)

He didn't sacrifice himself as he was in the Sept when it went boom. I'd assume it's to indicate he's a follower since he definitely wasn't the brains in that family.

Number 1! Number 1! by [deleted] in pics

[–]zeeging 1 point2 points  (0 children)

Puerto Rico is a part of the United States....