Skip to content

Commit 53cf3b9

Browse files
authored
Merge pull request #7 from JGCRI/3-reproducing-temp-projection-figure
3 reproducing temp projection figure
2 parents 8adda50 + 5fee06e commit 53cf3b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ECS-evidence-analysis.Rproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 3f3f4a97-b16d-4a20-89c2-b67cb71312c2
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

workflows/05_running_ks_test.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ combined_data <- rbind(Baseline, IPCC, No_Process, No_Historical, No_Paleoclimat
5757
# recoding scenario names for the plot
5858
cdf_df <- recode_scenarios(combined_data)
5959
60-
# Order factor levels for plot
61-
scenario_order <- scenario_order
60+
cdf_df$scenario <- factor(cdf_df$scenario, levels = names(ECS_COLORS))
6261
6362
# Plot CDFs
6463
CDF_temp <- ggplot(cdf_df,
@@ -67,6 +66,7 @@ CDF_temp <- ggplot(cdf_df,
6766
linetype = scenario)) +
6867
geom_line(stat = "ecdf",
6968
linewidth = 1,) +
69+
scale_x_continuous(limits = c(0, 4.5), expand = c(0, 0)) +
7070
scale_color_manual(values = ECS_COLORS, name = "ECS configurations") +
7171
scale_linetype_manual(values = LINE_TYPE, guide = "none") +
7272
labs(x = expression(paste("Future Warming (GSAT) relative to 1995-2014 (", degree, "C)")),

0 commit comments

Comments
 (0)