Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 0913069

Browse files
committed
Increase marker size in scatter plot
1 parent 6e20827 commit 0913069

10 files changed

+22
-21
lines changed

mise/ml/mlp_mul_ms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
908908
df_scatter.to_csv(csv_path)
909909

910910
# plot
911-
fig, ax = plt.subplots(figsize=(10, 10))
912-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
911+
fig, ax = plt.subplots(figsize=(7, 7))
912+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
913913
ax.set_aspect(1.0)
914914

915915
ax.set_xlabel('target')

mise/ml/mlp_mul_ms_mccr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
918918
df_scatter.to_csv(csv_path)
919919

920920
# plot
921-
fig, ax = plt.subplots(figsize=(10, 10))
922-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
921+
fig, ax = plt.subplots(figsize=(7, 7))
922+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
923923
ax.set_aspect(1.0)
924924

925925
ax.set_xlabel('target')

mise/ml/mlp_mul_transformer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,8 +1138,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
11381138
df_scatter.to_csv(csv_path)
11391139

11401140
# plot
1141-
fig, ax = plt.subplots(figsize=(10, 10))
1142-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
1141+
fig, ax = plt.subplots(figsize=(7, 7))
1142+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
11431143
ax.set_aspect(1.0)
11441144

11451145
ax.set_xlabel('target')

mise/ml/mlp_mul_transformer_mccr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,8 +1137,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
11371137
df_scatter.to_csv(csv_path)
11381138

11391139
# plot
1140-
fig, ax = plt.subplots(figsize=(10, 10))
1141-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
1140+
fig, ax = plt.subplots(figsize=(7, 7))
1141+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
11421142
ax.set_aspect(1.0)
11431143

11441144
ax.set_xlabel('target')

mise/ml/mlp_uni_ms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
859859
df_scatter.to_csv(csv_path)
860860

861861
# plot
862-
fig, ax = plt.subplots(figsize=(10, 10))
863-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
862+
fig, ax = plt.subplots(figsize=(7, 7))
863+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
864864
ax.set_aspect(1.0)
865865

866866
ax.set_xlabel('target')

mise/ml/mlp_uni_ms_mccr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,8 +867,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
867867
df_scatter.to_csv(csv_path)
868868

869869
# plot
870-
fig, ax = plt.subplots(figsize=(10, 10))
871-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
870+
fig, ax = plt.subplots(figsize=(7, 7))
871+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
872872
ax.set_aspect(1.0)
873873

874874
ax.set_xlabel('target')

mise/ml/rnn_mul_lstnet_skip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
996996
df_scatter.to_csv(csv_path)
997997

998998
# plot
999-
fig, ax = plt.subplots(figsize=(10, 10))
1000-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
999+
fig, ax = plt.subplots(figsize=(7, 7))
1000+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
10011001
ax.set_aspect(1.0)
10021002

10031003
ax.set_xlabel('target')

mise/ml/rnn_mul_lstnet_skip_mccr.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def construct_dataset(fdate, tdate,
9999

100100
def ml_rnn_mul_lstnet_skip_mccr(station_name="종로구"):
101101
print("Start Multivariate LSTNet (Skip Layer) + MCCR Model")
102-
targets = ["PM10", "PM25"]
102+
# targets = ["PM10", "PM25"]
103+
targets = ["PM25"]
103104
# 24*14 = 336
104105
sample_size = 48
105106
output_size = 24
@@ -1005,8 +1006,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
10051006
df_scatter.to_csv(csv_path)
10061007

10071008
# plot
1008-
fig, ax = plt.subplots(figsize=(10, 10))
1009-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
1009+
fig, ax = plt.subplots(figsize=(7, 7))
1010+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
10101011
ax.set_aspect(1.0)
10111012

10121013
ax.set_xlabel('target')

mise/ml/rnn_uni_attn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
10511051
df_scatter.to_csv(csv_path)
10521052

10531053
# plot
1054-
fig, ax = plt.subplots(figsize=(10, 10))
1055-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
1054+
fig, ax = plt.subplots(figsize=(7, 7))
1055+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
10561056
ax.set_aspect(1.0)
10571057

10581058
ax.set_xlabel('target')

mise/ml/rnn_uni_attn_mccr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,8 +1056,8 @@ def plot_scatter(output_size, df_obs, df_sim, target, data_dir, png_dir, svg_dir
10561056
df_scatter.to_csv(csv_path)
10571057

10581058
# plot
1059-
fig, ax = plt.subplots(figsize=(10, 10))
1060-
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(1.0,))
1059+
fig, ax = plt.subplots(figsize=(7, 7))
1060+
ax.scatter(obs, sim, color="tab:blue", alpha=0.8, s=(10.0,))
10611061
ax.set_aspect(1.0)
10621062

10631063
ax.set_xlabel('target')

0 commit comments

Comments
 (0)