Skip to content

Commit

Permalink
fix: plot generation variables
Browse files Browse the repository at this point in the history
  • Loading branch information
karatakis committed Nov 6, 2024
1 parent 7b242ed commit ec5a011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
run: |
cat << 'EOF' > plot_script.gp
set terminal png size 800,500 enhanced font "Arial,20"
set output ARG1
set output file_name
small = "#D81B60"; medium = "#1E88E5"; big = "#FFC107";
set yrange [0:20]
Expand All @@ -286,7 +286,7 @@ jobs:
set xtics format ""
set grid ytics
set title ARG2
set title title_text
plot 'data.dat' using 2:xtic(1) title "Small" linecolor rgb small, \
'data.dat' using 3 title "Medium" linecolor rgb medium, \
'data.dat' using 4 title "Big" linecolor rgb big
Expand All @@ -301,7 +301,7 @@ jobs:
Apollo ${{ fromJson(needs.read.outputs.result).rps.small_apollo_router }} ${{ fromJson(needs.read.outputs.result).rps.medium_apollo_router }} ${{ fromJson(needs.read.outputs.result).rps.big_apollo_router }}
EOF
- name: Create RPS basic plot
run: gnuplot -c "files/rps_default.png" "RPS Default"
run: gnuplot -e "file_name='files/rps_default.png'" "title_text='RPS Default'"
- name: Cleanup files
run: |
rm "results.md"
Expand Down

0 comments on commit ec5a011

Please sign in to comment.