fix(graphs): downsampled flow and bandwidth to not exceed latex memory limit
This commit is contained in:
+14
-2
@@ -26,6 +26,8 @@ SENDER_CPU_ARGS ?=
|
|||||||
RECEIVER_CPU_ARGS ?=
|
RECEIVER_CPU_ARGS ?=
|
||||||
TIMESERIES_ARGS ?=
|
TIMESERIES_ARGS ?=
|
||||||
IDT_CDF_ARGS ?=
|
IDT_CDF_ARGS ?=
|
||||||
|
FLOWS_IDT_CDF_ARGS ?=
|
||||||
|
BANDWIDTH_IDT_CDF_ARGS ?=
|
||||||
|
|
||||||
ROOT := ..
|
ROOT := ..
|
||||||
RAW_DATA_ROOT ?= $(ROOT)/../raw_data
|
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)
|
@mkdir -p $(OUT)
|
||||||
Rscript $< --data $(DERIVED) $(FMT_FLAG) $@ --zoom $(IDT_CDF_ARGS)
|
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
|
$(OUT)/%.pdf: fig_%.R common.R $(CSVS) Makefile
|
||||||
@mkdir -p $(OUT)
|
@mkdir -p $(OUT)
|
||||||
Rscript $< --data $(DERIVED) --pdf $@
|
Rscript $< --data $(DERIVED) --pdf $@
|
||||||
@@ -177,7 +187,8 @@ direct-link-tikz:
|
|||||||
|
|
||||||
BANDWIDTHS_ARGS = EXP=bandwidths SETUP=bandwidths \
|
BANDWIDTHS_ARGS = EXP=bandwidths SETUP=bandwidths \
|
||||||
SOLUTIONS="1:250 2:500 4:1000 8:2000" \
|
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:
|
bandwidths:
|
||||||
$(MAKE) pdfs $(BANDWIDTHS_ARGS)
|
$(MAKE) pdfs $(BANDWIDTHS_ARGS)
|
||||||
@@ -187,7 +198,8 @@ bandwidths-tikz:
|
|||||||
|
|
||||||
FLOWS_ARGS = EXP=flows SETUP=flows \
|
FLOWS_ARGS = EXP=flows SETUP=flows \
|
||||||
SOLUTIONS="2:2 4:4 8:8 16:16 30:30" \
|
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:
|
flows:
|
||||||
$(MAKE) pdfs $(FLOWS_ARGS)
|
$(MAKE) pdfs $(FLOWS_ARGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user