From: alessandro s. <sa...@gm...> - 2005-05-29 13:29:55
|
for me postscript is fine or even better because of the linestyle which are much cooler... yet i have the feeling there could be something to be fixed in pdf terminal... if it's not me who's doing something bad that said,=20 small data file "file"... i'm sorry lines will be split and i have no website where to upload it :( i put an empty line between every two true lines, so that you can distingui= sh ----8<------------------------ r 23.832265 0 10 ack 40 ---A--N 9383 0.10 10.25 1 236467 1 0x19 40 0 1 3.6764508678510666e-06 16 0 6 -0.0024412023801214655 22 0 0 0 0 0 0 0 0 0 1 -2.011229448317664e-06 16 0 0 -0.0024814780833126715 22 0 0 0 0 r 23.834665 0 10 ack 40 ---A--N 9383 0.10 10.25 1 236492 1461 0x19 40 0 1 3.5628276378041335e-06 16 0 6 -0.0024412023801214655 22 0 0 0 0 0 0 0 0 0 1 -2.0678461440937213e-06 16 0 0 -0.0024814780833126715 22 0 0 0 0 r 23.837065 0 10 ack 40 ---A--N 9383 0.10 10.25 1 236519 2921 0x19 40 0 1 3.4778519576450506e-06 16 0 6 -0.0024412023801214655 22 0 0 0 0 0 0 0 0 0 1 -1.1615002213360981e-06 16 0 0 -0.0024814780833126715 22 0 0 0 0 r 23.8694 0 10 ack 40 ---A--N 9383 0.10 10.25 2 236890 4381 0x18 40 0 1 -1.1436228823935579e-06 16 0 6 -0.0024447739180673 22 0 0 0 0 0 0 0 0 0 1 2.3347830055975294e-06 16 0 0 -0.0024794051101402204 22 0 0 0 0 r 23.918628 0 10 ack 40 ---A--N 9383 0.10 10.25 2 237363 4637 0x18 40 0 1 3.3365162647180924e-06 16 0 6 -0.002443627500596568 22 0 0 0 0 0 0 0 0 0 1 1.1694656978367135e-06 16 0 0 -0.0024817456874834942 22 0 0 0 0 r 23.94882 0 10 ack 40 ---A--N 9383 0.10 10.25 2 237759 4638 0x18 40 0 1 7.3102099573674195e-07 16 0 6 -0.0024469721812236944 22 0 0 0 0 0 0 0 0 0 1 1.7272854772043544e-06 16 0 0 -0.0024829180568688436 22 0 0 0 0 ----8<------------------------ gnuplot more or less minimalist script: ----8<------------------------ set mouse set view 60, 340 set grid set key left set samples 100000 set ticslevel 0 set tics out set ytics rotate by 60 offset 3 set xtics rotate by -30 offset -3 set term pdf enhanced set output "dots-vect.pdf" splot "file" using 22:18:2 notitle w impulses lt 0, \ "file" using (($22-$18)/(1-$18)):18:2 notitle w impulses lt 0, \ "file" using 22:18:($18>0)?$2:1/0 notitle w dots lt 8 lw 4.0, \ "file" using 22:18:($18=3D=3D0)?$2:1/0 notitle w dots lt 2 lw 4.0, \ "file" using 22:18:($18<0)?$2:1/0 notitle w dots lt 3 lw 4.0, \ "file" using 22:18:($18>0)?$2:1/0:($18*($22-1)/(1-$18)):(0):(0) notitle w vectors filled head lt 8, \ "file" using 22:18:($18=3D=3D0)?$2:1/0:($18*($22-1)/(1-$18)):(0):(0) notitle w vectors filled head lt 2, \ "file" using 22:18:($18<0)?$2:1/0:($18*($22-1)/(1-$18)):(0):(0) notitle w vectors filled head lt 3; pause mouse keypress ---8<--------- thank you very much cheers alessandro On 5/29/05, Hans-Bernhard Broeker <br...@ph...> wrote: > Alessandro Salvatori wrote: > > with the pdf terminal, the following code: > > > > replot "$i" using > > 22:18:(\$18>0)?\$2:1/0:(\$18*(\$22-1)/(1-\$18)):(0):(0) notitle w > > vectors filled head lt 1, \ >=20 > This 'using' specifier list is a bit fishy: you should enclose each > specifier in () for extended syntax to work correctly, without > any doubts: >=20 > using 22:18:(($18>0)?$2:1/0):($18*($22-1)/(1-$18)):(0):(0) >=20 > Otherwise the ':' of your ternary expression might be confused with the > same letter used as a separator between specifiers. >=20 > > PDFlib exception (fatal): [1108] PDF_setlinewidth: Floating-point > > parameter 'width' has bad value 0.000000 > > > > with an x11 or a postscript terminal everything goes fine. >=20 > So PDFlib rejects a linewidth of zero, gnuplot doesn't. Question is > what is setting a line width of zero here. I don't see any obvious > candidate. Please reduce the example to the smallest complete script > still reproducing the effect you can create, then post that here. >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22= 005 > _______________________________________________ > gnuplot-bugs mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs >=20 --=20 nadia m'a dit de changer ma signature car elle etait devenue ennuyante (nadia, ...pas ma signature!!!) |