Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
|
@@ -3687,7 +3687,7 @@ create_pitcher_movement_plot <- function(game_data, pitcher_name, pitch_colors)
|
|
| 3687 |
ggplot(df, aes(x = HorzBreak, y = InducedVertBreak)) +
|
| 3688 |
geom_vline(xintercept = 0, color = "black", linewidth = 0.5) +
|
| 3689 |
geom_hline(yintercept = 0, color = "black", linewidth = 0.5) +
|
| 3690 |
-
geom_point(aes(fill = TaggedPitchType), alpha = 0.85, shape = 21, color = "black", stroke = 0.4, size =
|
| 3691 |
geom_point(data = centers, aes(x = mean_hb, y = mean_ivb, fill = TaggedPitchType),
|
| 3692 |
alpha = 1, shape = 21, color = "black", stroke = 0.5, size = 8) +
|
| 3693 |
geom_text(data = centers, aes(x = mean_hb, y = mean_ivb, label = mean_velo),
|
|
|
|
| 3687 |
ggplot(df, aes(x = HorzBreak, y = InducedVertBreak)) +
|
| 3688 |
geom_vline(xintercept = 0, color = "black", linewidth = 0.5) +
|
| 3689 |
geom_hline(yintercept = 0, color = "black", linewidth = 0.5) +
|
| 3690 |
+
geom_point(aes(fill = TaggedPitchType), alpha = 0.85, shape = 21, color = "black", stroke = 0.4, size = 5) +
|
| 3691 |
geom_point(data = centers, aes(x = mean_hb, y = mean_ivb, fill = TaggedPitchType),
|
| 3692 |
alpha = 1, shape = 21, color = "black", stroke = 0.5, size = 8) +
|
| 3693 |
geom_text(data = centers, aes(x = mean_hb, y = mean_ivb, label = mean_velo),
|