Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1201
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Horizontal grid not displaying properly |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2012-06-12 11:53 -0700 |
| Organization | gnuplot development team |
| Message-ID | <jr836p$lgb$1@dont-email.me> (permalink) |
| References | <43e29ec2-4e1e-4294-a60f-0c846c225064@googlegroups.com> |
Followups directed to: comp.graphics.apps.gnuplot
hectorratia@gmail.com wrote: > This image shows the problem: > http://s13.postimage.org/qu0f6r2l3/COMPexp02.png > The dashes of the horizontal grid are deformed. > > The script used to plot it is: > > set term png size 800,500 20 > set out 'temp.png' > > set style line 11 lc rgb '#808080' lt 1 lw 4 > set border ls 11 > set tics front nomirror > set style line 12 lc rgb '#808080' lt 0 lw 3 > set grid back ls 12 > > set xlabel "t (s)" > set ylabel "h (mm)" > set key right top > set key box linestyle 1 > > plot 'DATOS/upZZZ.out' using (($1-1)/30):($2*10) with line lw 2 lc rgb > '#54BC00' title 'Exp Up', 'DATOS/downZZZ.out' using (($1-1)/50):($2*10) > with line lw 2 lc rgb '#CEEA82' title 'Exp > Down','YYY/XXX/volcadosondas_h.out' using 1:($2*1000) with line lw 2 lc > rgb '#EF2B2D' title 'BHL Up','YYY/XXX/volcadosondas_h.out' using > 1:($3*1000) with line lw 2 lc rgb '#F9B2B7' title 'BHL > Down','YYY/UUU/volcadosondas_h.out' using 1:($2*1000) with line lw 2 lc > rgb '#007AA5' title 'BT Up','YYY/UUU/volcadosondas_h.out' using > 1:($3*1000) with line lw 2 lc rgb '#99D6DD' title 'BT Down' > > > Any idea about how to fix the grid? Option 1: Don't set the linewidth of the grid to lw 3. libgd (used by the png terminal) only knows how to antialias lines of width 1. Option 2: Use "set term pngcairo" rather than "set term png". The cairo library is much better than libgd at antialiasing.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Horizontal grid not displaying properly hectorratia@gmail.com - 2012-06-12 01:37 -0700 Re: Horizontal grid not displaying properly sfeam <sfeam@users.sourceforge.net> - 2012-06-12 11:53 -0700
csiph-web