From 76aa35da3f44f6229e4de609e212cab5e558cd50 Mon Sep 17 00:00:00 2001 From: nwickel Date: Wed, 3 Apr 2024 17:53:39 +0200 Subject: [PATCH] Updated labels for power law plots --- code/11_investigate-variants.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/11_investigate-variants.R b/code/11_investigate-variants.R index 44150d6..6b3a195 100644 --- a/code/11_investigate-variants.R +++ b/code/11_investigate-variants.R @@ -60,7 +60,7 @@ pdf("../../thesis/figures/freq-traces_powerlaw.pdf", height = 3.375, width = 3.375, pointsize = 10) par(mai = c(.6,.6,.1,.1), mgp = c(2.4, 1, 0)) -plot(x, y, log = "xy", xlab = "Absolute Frequency of Traces", +plot(x, y, log = "xy", xlab = "Process variants sorted by frequency", ylab = "Frequency", pch = 16, col = rgb(0.262, 0.309, 0.309, 0.5)) lines(x, pre, col = "#434F4F") legend("topright", paste0("Proportion of traces only occurring once: ", @@ -73,7 +73,7 @@ pdf("../../thesis/figures/freq-traces_powerlaw_bw.pdf", height = 3.375, width = 3.375, pointsize = 10) par(mai = c(.6,.6,.1,.1), mgp = c(2.4, 1, 0)) -plot(x, y, log = "xy", xlab = "Absolute Frequency of Traces", +plot(x, y, log = "xy", xlab = "Process variants sorted by frequency", ylab = "Frequency", pch = 16, col = rgb(0.3, 0.3, 0.3, 0.5)) lines(x, pre, col = "#434F4F") legend("topright", paste0("Proportion of traces only occurring once: ", @@ -129,7 +129,7 @@ pdf("../../thesis/figures/freq-traces_powerlaw_2019.pdf", height = 3.375, width = 3.375, pointsize = 10) par(mai = c(.6,.6,.1,.1), mgp = c(2.4, 1, 0)) -plot(x, y, log = "xy", xlab = "Absolute Frequency of Traces", +plot(x, y, log = "xy", xlab = "Process variants sorted by frequency", ylab = "Frequency", pch = 16, col = rgb(0.262, 0.309, 0.309, 0.5)) lines(x, pre, col = "#434F4F") legend("topright", paste0("Proportion of traces only occurring once: ", @@ -142,7 +142,7 @@ pdf("../../thesis/figures/freq-traces_powerlaw_2019_bw.pdf", height = 3.375, width = 3.375, pointsize = 10) par(mai = c(.6,.6,.1,.1), mgp = c(2.4, 1, 0)) -plot(x, y, log = "xy", xlab = "Absolute Frequency of Traces", +plot(x, y, log = "xy", xlab = "Process variants sorted by frequency", ylab = "Frequency", pch = 16, col = rgb(0.3, 0.3, 0.3, 0.5)) lines(x, pre, col = "#434F4F") legend("topright", paste0("Proportion of traces only occurring once: ",