Skip to content

Commit f55214d

Browse files
committed
Smooth PNG with pngcairo term
1 parent dd7292f commit f55214d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ G.plot([
150150
~w(set key left top)a,
151151
~w(set logscale xy)a,
152152
~w(set grid xtics ytics)a,
153-
~w(set style line 1 lw 4 lc '#63b132')a,
154-
~w(set style line 2 lw 4 lc '#2C001E')a,
155-
~w(set style line 3 lw 4 lc '#5E2750')a,
156-
~w(set style line 4 lw 4 lc '#E95420')a,
153+
~w(set style line 1 lw 2 lc '#63b132')a,
154+
~w(set style line 2 lw 2 lc '#2C001E')a,
155+
~w(set style line 3 lw 2 lc '#5E2750')a,
156+
~w(set style line 4 lw 2 lc '#E95420')a,
157157
~w(set style line 5 lw 4 lc '#77216F')a,
158158
[:plot, G.list(
159159
["-", :title, "Clojure GUI", :with, :lines, :ls, 1],

docs/perf.PNG

41.6 KB
Loading

examples/perf.exs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule Perf do
77

88
def target,
99
do: [
10-
[:set, :term, :png, :size, '640,512', :font, "/Library/Fonts/FiraCode-Medium.ttf", 12],
10+
[:set, :term, :pngcairo, :size, '640,512', :font, "Source Code Pro,12"],
1111
[:set, :output, png()]
1212
]
1313

@@ -19,10 +19,10 @@ defmodule Perf do
1919
~w(set key left top)a,
2020
~w(set logscale xy)a,
2121
~w(set grid xtics ytics)a,
22-
~w(set style line 1 lw 4 lc '#63b132')a,
23-
~w(set style line 2 lw 4 lc '#2C001E')a,
24-
~w(set style line 3 lw 4 lc '#5E2750')a,
25-
~w(set style line 4 lw 4 lc '#E95420')a,
22+
~w(set style line 1 lw 2 lc '#63b132')a,
23+
~w(set style line 2 lw 2 lc '#2C001E')a,
24+
~w(set style line 3 lw 2 lc '#5E2750')a,
25+
~w(set style line 4 lw 2 lc '#E95420')a,
2626
~w(set style line 5 lw 4 lc '#77216F')a,
2727
[
2828
:plot,

0 commit comments

Comments
 (0)