theangryhornet
theangryhornet

Reputation: 403

GNUPLOT: Trying to increase the quality

How do I increase the quality in gnuplot? It seems like it's a very low-res image.

Here's the contents of the file i'm using: linkage.plot

set terminal pdf
set out 'linkage.pdf'

set title "Distribution of Scores"
set xlabel "Score Value"
set ylabel "Appearences"

set yrange [0:50000]
set xrange [0:70]

binwidth=.25
bin(x,width)=width*floor(x/width)

plot 'linkage.dat' using (bin($1,binwidth)):(1.0) title "Scores"\
smooth freq with boxes

Upvotes: 3

Views: 3460

Answers (1)

andrew cooke
andrew cooke

Reputation: 46872

gnuplot pdf output is usually pretty good (it's implemented via the cairo pdf library with antialiasing etc). but here some points that may help:

  • help terminal pdf at the gnuplot> prompt will give some help about plotting to pdf.

  • set terminal pdf linewidth 1 will give you a thicker line width.

  • [deleted - my mistake]

Upvotes: 5

Related Questions