Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2264
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: GNUplot 4.4 and 4.6 difference with text in graph |
| Date | 2014-01-19 14:44 -0800 |
| Organization | made entirely of Lego |
| Message-ID | <lbhkf4$rlb$1@dont-email.me> (permalink) |
| References | <bc752a38-a8db-46bc-a8de-cf509e06c077@googlegroups.com> |
relstnl@gmail.com wrote: > Hello > > I've recently started testing GNUplot 4.6 and have one graph which > shows up different then in 4.4. > > This is the gnuplot file: > > set term png truecolor size 800,600 > set output "ciphers.png" > set xlabel "Ciphersuite" > set ylabel "Amount" > set title "HTTPS Ciphersuites" > set grid > set xtics rotate by -45 axis out offset 0,1.5 Here you ask for a 45 degree rotation of the axis tic labels, displaced upward by 1.5 character heights. > This is the 4.6 image: > http://i.imgur.com/Pn5uzy8.png Which is is exactly what is present in the image produced by 4.6 > This is the 4.4 image: > http://i.imgur.com/lZOIcX4.png > As you can see the text in the 4.4 version is in the bar vertically, > in the 4.6 version it is rotated and not in the bar anymore. Whereas version 4.4 ignored or could not produce what you asked for. I no longer remember whether this was a bug or just something that the 4.4 png terminal was not capable of handling. It may have depended on what version of the libgd library it was linked against. > How can I solve this? Well, 4.6 did precisely what you asked it to. If 4.4 cannot, then I guess you "solve it" by switching to 4.6 :-) Probably you should make the vertical offset -1.5 rather than 1.5 so that the labels are displaced upwards into the plot. Ethan > set boxwidth 1 relative > set style fill transparent solid 0.5 border rgb"black" > plot "cipher" u 1:xtic(2) w boxes lc rgb"blue" > > > This is the raw data: > > 1 CAMELLIA256-SHA > 1 SEED-SHA > 2 DHE-RSA-AES128-SHA > 4 DHE-RSA-CAMELLIA256-SHA > 5 EDH-RSA-DES-CBC3-SHA > 11 ECDHE-RSA-AES128-SHA > 24 DES-CBC3-SHA > 115 AES128-SHA > 171 ECDHE-RSA-AES256-SHA > 241 RC4-MD5 > 279 AES256-SHA > 428 ECDHE-RSA-RC4-SHA > 550 RC4-SHA > 650 DHE-RSA-AES256-SHA > > > This is the 4.6 image: > http://i.imgur.com/Pn5uzy8.png > > This is the 4.4 image: > http://i.imgur.com/lZOIcX4.png > > GNUplot versions: > gnuplot 4.4 patchlevel 3 > gnuplot 4.6 patchlevel 0 > > Both on Ubuntu (12.04/13.10) > > As you can see the text in the 4.4 version is in the bar vertically, > in the 4.6 version it is rotated and not in the bar anymore. > > How can I solve this?
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GNUplot 4.4 and 4.6 difference with text in graph relstnl@gmail.com - 2014-01-19 11:29 -0800
Re: GNUplot 4.4 and 4.6 difference with text in graph Ethan A Merritt <EAMerritt@gmail.com> - 2014-01-19 14:44 -0800
Re: GNUplot 4.4 and 4.6 difference with text in graph TextEditor <relstnl@gmail.com> - 2014-01-20 10:29 -0800
csiph-web