update font setting

This commit is contained in:
Yupeng Chen 2024-04-26 14:53:34 +08:00
parent 691041b6c8
commit aa33b41943
No known key found for this signature in database
GPG Key ID: BB03A97DB67D4C16
3 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ plots_dir="./plot_burst/"
os.makedirs(plots_dir,exist_ok=True)
# plots_dir="/home/vamsi/Powertcp-NSDI/"
plt.rcParams.update({'font.size': 18,'font.family':'PingFang SC'})
plt.rcParams.update({'font.size': 18,'font.family':['PingFang SC','Noto Sans CJK SC']})
algs=list(["dcqcn", "powerInt", "hpcc", "powerDelay", "timely", "dctcp","patchedTimely","swift","rttqcn"])
algs=list(["powerDelay", "timely","patchedTimely","swift","rttqcn"])
algnames={"dcqcn":"DCQCN","powerInt":"PowerTCP","hpcc":"HPCC","powerDelay":r'$\theta-PowerTCP$',"timely":"TIMELY","DCTCP":"DCTCP","patchedTimely":"Patched TIMELY","swift":"Swift","rttqcn":"RTT-QCN"}

View File

@ -19,7 +19,7 @@ plots_dir="./plot_fairness/"
os.makedirs(plots_dir,exist_ok=True)
# plots_dir="/home/vamsi/Powertcp-NSDI/"
plt.rcParams.update({'font.size': 18,'font.family':'PingFang SC'})
plt.rcParams.update({'font.size': 18,'font.family':['PingFang SC','Noto Sans CJK SC']})

View File

@ -19,7 +19,7 @@ plots_dir="./plot_workload/"
os.makedirs(plots_dir,exist_ok=True)
# plots_dir="/home/vamsi/Powertcp-NSDI/"
plt.rcParams.update({'font.size': 18,'font.family':'PingFang SC'})
plt.rcParams.update({'font.size': 18,'font.family':['DejaVu Sans','Source Han Sans SC','Noto Sans CJK SC']})