fix(graphs): downsampled flow and bandwidth to not exceed latex memory limit

This commit is contained in:
Sebastian Rust
2026-06-04 14:19:49 +02:00
parent 71f9445eb0
commit 5eeb028ff2
+14 -2
View File
@@ -26,6 +26,8 @@ SENDER_CPU_ARGS ?=
RECEIVER_CPU_ARGS ?=
TIMESERIES_ARGS ?=
IDT_CDF_ARGS ?=
FLOWS_IDT_CDF_ARGS ?=
BANDWIDTH_IDT_CDF_ARGS ?=
ROOT := ..
RAW_DATA_ROOT ?= $(ROOT)/../raw_data
@@ -101,6 +103,14 @@ $(OUT)/idt_cdf_zoom.pdf $(OUT)/idt_cdf_zoom.tex: fig_idt_cdf.R common.R $(CSVS)
@mkdir -p $(OUT)
Rscript $< --data $(DERIVED) $(FMT_FLAG) $@ --zoom $(IDT_CDF_ARGS)
$(OUT)/flows_idt_cdf.pdf $(OUT)/flows_idt_cdf.tex: fig_flows_idt_cdf.R common.R $(CSVS) Makefile
@mkdir -p $(OUT)
Rscript $< --data $(DERIVED) $(FMT_FLAG) $@ $(FLOWS_IDT_CDF_ARGS)
$(OUT)/bandwidth_idt_cdf.pdf $(OUT)/bandwidth_idt_cdf.tex: fig_bandwidth_idt_cdf.R common.R $(CSVS) Makefile
@mkdir -p $(OUT)
Rscript $< --data $(DERIVED) $(FMT_FLAG) $@ $(BANDWIDTH_IDT_CDF_ARGS)
$(OUT)/%.pdf: fig_%.R common.R $(CSVS) Makefile
@mkdir -p $(OUT)
Rscript $< --data $(DERIVED) --pdf $@
@@ -177,7 +187,8 @@ direct-link-tikz:
BANDWIDTHS_ARGS = EXP=bandwidths SETUP=bandwidths \
SOLUTIONS="1:250 2:500 4:1000 8:2000" \
FIG_STEMS="bandwidth_idt_cdf"
FIG_STEMS="bandwidth_idt_cdf" \
BANDWIDTH_IDT_CDF_ARGS="--sample 10000"
bandwidths:
$(MAKE) pdfs $(BANDWIDTHS_ARGS)
@@ -187,7 +198,8 @@ bandwidths-tikz:
FLOWS_ARGS = EXP=flows SETUP=flows \
SOLUTIONS="2:2 4:4 8:8 16:16 30:30" \
FIG_STEMS="flows_idt_cdf"
FIG_STEMS="flows_idt_cdf" \
FLOWS_IDT_CDF_ARGS="--sample 10000"
flows:
$(MAKE) pdfs $(FLOWS_ARGS)