Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

3d plot error between different machines

9 views
Skip to first unread message

r

unread,
Nov 27, 2009, 10:48:32 AM11/27/09
to
I have tested an identical data set on 2 installations of gnuplot
(both using version 42patch0) The 3d plot on machine 1 (mandriva 2008)
shows the data correctly (z axis ztics range 0-1400); on machine 2
(suse11) the 3d plot is wrong (z axis shows range of ztics values
10-90!) . Below is the source data.

Is this a bug with gnuplot or somewhere in the suse11 machine?

20 5 100
45 6.2 102.3
70 7.4 104.6
95 8.6 106.9
120 9.8 109.2
145 11 111.5
170 12.2 113.8
195 13.4 116.1
220 14.6 118.4
245 15.8 120.7
270 17 123
295 18.2 125.3
320 19.4 127.6
345 20.6 129.9
370 21.8 132.2
395 23 134.5
420 24.2 136.8
445 25.4 139.1
470 26.6 141.4
495 27.8 143.7
520 29 146
545 30.2 148.3
570 31.4 150.6
595 32.6 152.9
620 33.8 155.2
645 35 157.5
670 36.2 159.8
695 37.4 162.1
720 38.6 164.4
745 39.8 166.7
770 41 169
795 42.2 171.3
820 43.4 173.6
845 44.6 175.9
870 45.8 178.2
895 47 180.5
920 48.2 182.8
945 49.4 185.1
970 50.6 187.4
995 51.8 189.7
1020 53 192
1045 54.2 194.3
1070 55.4 196.6
1095 56.6 198.9
1120 57.8 201.2
1145 59 203.5
1170 60.2 205.8
1195 61.4 208.1
1220 62.6 210.4
1245 63.8 212.7
1270 65 215
1295 66.2 217.3
1320 67.4 219.6
1345 68.6 221.9
1370 69.8 224.2
1395 71 226.5
1420 72.2 228.8
1445 73.4 231.1
1470 74.6 233.4
1495 75.8 235.7
1520 77 238
1545 78.2 240.3
1570 79.4 242.6
1595 80.6 244.9
1620 81.8 247.2
1645 83 249.5
1670 84.2 251.8
1695 85.4 254.1
1720 86.6 256.4
1745 87.8 258.7
1770 89 261
1795 90.2 263.3
1820 91.4 265.6
1845 92.6 267.9
1870 93.8 270.2
1895 95 272.5
1920 96.2 274.8
1945 97.4 277.1
1970 98.6 279.4
1995 99.8 281.7
2020 101 284
2045 102.2 286.3
2070 103.4 288.6
2095 104.6 290.9
2120 105.8 293.2
2145 107 295.5
2170 108.2 297.8
2195 109.4 300.1
2220 110.6 302.4
2245 111.8 304.7
2270 113 307
2295 114.2 309.3
2320 115.4 311.6
2345 116.6 313.9
2370 117.8 316.2
2395 119 318.5
2420 120.2 320.8
2445 121.4 323.1
2470 122.6 325.4
2495 123.8 327.7
2520 125 330
2545 126.2 332.3
2570 127.4 334.6
2595 128.6 336.9
2620 129.8 339.2
2645 131 341.5
2670 132.2 343.8
2695 133.4 346.1
2720 134.6 348.4
2745 135.8 350.7
2770 137 353
2795 138.2 355.3
2820 139.4 357.6
2845 140.6 359.9
2870 141.8 362.2
2895 143 364.5
2920 144.2 366.8
2945 145.4 369.1
2970 146.6 371.4
2995 147.8 373.7
3020 149 376
3045 150.2 378.3
3070 151.4 380.6
3095 152.6 382.9
3120 153.8 385.2
3145 155 387.5
3170 156.2 389.8
3195 157.4 392.1
3220 158.6 394.4
3245 159.8 396.7
3270 161 399
3295 162.2 401.3
3320 163.4 403.6
3345 164.6 405.9
3370 165.8 408.2
3395 167 410.5
3420 168.2 412.8
3445 169.4 415.1
3470 170.6 417.4
3495 171.8 419.7
3520 173 422
3545 174.2 424.3
3570 175.4 426.6
3595 176.6 428.9
3620 177.8 431.2
3645 179 433.5
3670 180.2 435.8
3695 181.4 438.1
3720 182.6 440.4
3745 183.8 442.7
3770 185 445
3795 186.2 447.3
3820 187.4 449.6
3845 188.6 451.9
3870 189.8 454.2
3895 191 456.5
3920 192.2 458.8
3945 193.4 461.1
3970 194.6 463.4
3995 195.8 465.7
4020 197 468
4045 198.2 470.3
4070 199.4 472.6
4095 200.6 474.9
4120 201.8 477.2
4145 203 479.5
4170 204.2 481.8
4195 205.4 484.1
4220 206.6 486.4
4245 207.8 488.7
4270 209 491
4295 210.2 493.3
4320 211.4 495.6
4345 212.6 497.9
4370 213.8 500.2
4395 215 502.5
4420 216.2 504.8
4445 217.4 507.1
4470 218.6 509.4
4495 219.8 511.7
4520 221 514
4545 222.2 516.3
4570 223.4 518.6
4595 224.6 520.9
4620 225.8 523.2
4645 227 525.5
4670 228.2 527.8
4695 229.4 530.1
4720 230.6 532.4
4745 231.8 534.7
4770 233 537
4795 234.2 539.3
4820 235.4 541.6
4845 236.6 543.9
4870 237.8 546.2
4895 239 548.5
4920 240.2 550.8
4945 241.4 553.1
4970 242.6 555.4
4995 243.8 557.7
5020 245 560
5045 246.2 562.3
5070 247.4 564.6
5095 248.6 566.9
5120 249.8 569.2
5145 251 571.5
5170 252.2 573.8
5195 253.4 576.1
5220 254.6 578.4
5245 255.8 580.7
5270 257 583
5295 258.2 585.3
5320 259.4 587.6
5345 260.6 589.9
5370 261.8 592.2
5395 263 594.5
5420 264.2 596.8
5445 265.4 599.1
5470 266.6 601.4
5495 267.8 603.7
5520 269 606
5545 270.2 608.3
5570 271.4 610.6
5595 272.6 612.9
5620 273.8 615.2
5645 275 617.5
5670 276.2 619.8
5695 277.4 622.1
5720 278.6 624.4
5745 279.8 626.7
5770 281 629
5795 282.2 631.3
5820 283.4 633.6
5845 284.6 635.9
5870 285.8 638.2
5895 287 640.5
5920 288.2 642.8
5945 289.4 645.1
5970 290.6 647.4
5995 291.8 649.7
6020 293 652
6045 294.2 654.3
6070 295.4 656.6
6095 296.6 658.9
6120 297.8 661.2
6145 299 663.5
6170 300.2 665.8
6195 301.4 668.1
6220 302.6 670.4
6245 303.8 672.7
6270 305 675
6295 306.2 677.3
6320 307.4 679.6
6345 308.6 681.9
6370 309.8 684.2
6395 311 686.5
6420 312.2 688.8
6445 313.4 691.1
6470 314.6 693.4
6495 315.8 695.7
6520 317 698
6545 318.2 700.3
6570 319.4 702.6
6595 320.6 704.9
6620 321.8 707.2
6645 323 709.5
6670 324.2 711.8
6695 325.4 714.1
6720 326.6 716.4
6745 327.8 718.7
6770 329 721
6795 330.2 723.3
6820 331.4 725.6
6845 332.6 727.9
6870 333.8 730.2
6895 335 732.5
6920 336.2 734.8
6945 337.4 737.1
6970 338.6 739.4
6995 339.8 741.7
7020 341 744
7045 342.2 746.3
7070 343.4 748.6
7095 344.6 750.9
7120 345.8 753.2
7145 347 755.5
7170 348.2 757.8
7195 349.4 760.1
7220 350.6 762.4
7245 351.8 764.7
7270 353 767
7295 354.2 769.3
7320 355.4 771.6
7345 356.6 773.9
7370 357.8 776.2
7395 359 778.5
7420 360.2 780.8
7445 361.4 783.1
7470 362.6 785.4
7495 363.8 787.7
7520 365 790
7545 366.2 792.3
7570 367.4 794.6
7595 368.6 796.9
7620 369.8 799.2
7645 371 801.5
7670 372.2 803.8
7695 373.4 806.1
7720 374.6 808.4
7745 375.8 810.7
7770 377 813
7795 378.2 815.3
7820 379.4 817.6
7845 380.6 819.9
7870 381.8 822.2
7895 383 824.5
7920 384.2 826.8
7945 385.4 829.1
7970 386.6 831.4
7995 387.8 833.7
8020 389 836
8045 390.2 838.3
8070 391.4 840.6
8095 392.6 842.9
8120 393.8 845.2
8145 395 847.5
8170 396.2 849.8
8195 397.4 852.1
8220 398.6 854.4
8245 399.8 856.7
8270 401 859
8295 402.2 861.3
8320 403.4 863.6
8345 404.6 865.9
8370 405.8 868.2
8395 407 870.5
8420 408.2 872.8
8445 409.4 875.1
8470 410.6 877.4
8495 411.8 879.7
8520 413 882
8545 414.2 884.3
8570 415.4 886.6
8595 416.6 888.9
8620 417.8 891.2
8645 419 893.5
8670 420.2 895.8
8695 421.4 898.1
8720 422.6 900.4
8745 423.8 902.7
8770 425 905
8795 426.2 907.3
8820 427.4 909.6
8845 428.6 911.9
8870 429.8 914.2
8895 431 916.5
8920 432.2 918.8
8945 433.4 921.1
8970 434.6 923.4
8995 435.8 925.7
9020 437 928
9045 438.2 930.3
9070 439.4 932.6
9095 440.6 934.9
9120 441.8 937.2
9145 443 939.5
9170 444.2 941.8
9195 445.4 944.1
9220 446.6 946.4
9245 447.8 948.7
9270 449 951
9295 450.2 953.3
9320 451.4 955.6
9345 452.6 957.9
9370 453.8 960.2
9395 455 962.5
9420 456.2 964.8
9445 457.4 967.1
9470 458.6 969.4
9495 459.8 971.7
9520 461 974
9545 462.2 976.3
9570 463.4 978.6
9595 464.6 980.9
9620 465.8 983.2
9645 467 985.5
9670 468.2 987.8
9695 469.4 990.1
9720 470.6 992.4
9745 471.8 994.7
9770 473 997
9795 474.2 999.3
9820 475.4 1001.6
9845 476.6 1003.9
9870 477.8 1006.2
9895 479 1008.5
9920 480.2 1010.8
9945 481.4 1013.1
9970 482.6 1015.4
9995 483.8 1017.7
10020 485 1020
10045 486.2 1022.3
10070 487.4 1024.6
10095 488.6 1026.9
10120 489.8 1029.2
10145 491 1031.5
10170 492.2 1033.8
10195 493.4 1036.1
10220 494.6 1038.4
10245 495.8 1040.7
10270 497 1043
10295 498.2 1045.3
10320 499.4 1047.6
10345 500.6 1049.9
10370 501.8 1052.2
10395 503 1054.5
10420 504.2 1056.8
10445 505.4 1059.1
10470 506.6 1061.4
10495 507.8 1063.7
10520 509 1066
10545 510.2 1068.3
10570 511.4 1070.6
10595 512.6 1072.9
10620 513.8 1075.2
10645 515 1077.5
10670 516.2 1079.8
10695 517.4 1082.1
10720 518.6 1084.4
10745 519.8 1086.7
10770 521 1089
10795 522.2 1091.3
10820 523.4 1093.6
10845 524.6 1095.9
10870 525.8 1098.2
10895 527 1100.5
10920 528.2 1102.8
10945 529.4 1105.1
10970 530.6 1107.4
10995 531.8 1109.7
11020 533 1112
11045 534.2 1114.3
11070 535.4 1116.6
11095 536.6 1118.9
11120 537.8 1121.2
11145 539 1123.5
11170 540.2 1125.8
11195 541.4 1128.1
11220 542.6 1130.4
11245 543.8 1132.7
11270 545 1135
11295 546.2 1137.3
11320 547.4 1139.6
11345 548.6 1141.9
11370 549.8 1144.2
11395 551 1146.5
11420 552.2 1148.8
11445 553.4 1151.1
11470 554.6 1153.4
11495 555.8 1155.7
11520 557 1158
11545 558.2 1160.3
11570 559.4 1162.6
11595 560.6 1164.9
11620 561.8 1167.2
11645 563 1169.5
11670 564.2 1171.8
11695 565.4 1174.1
11720 566.6 1176.4
11745 567.8 1178.7
11770 569 1181
11795 570.2 1183.3
11820 571.4 1185.6
11845 572.6 1187.9
11870 573.8 1190.2
11895 575 1192.5
11920 576.2 1194.8
11945 577.4 1197.1
11970 578.6 1199.4
11995 579.8 1201.7
12020 581 1204
12045 582.2 1206.3
12070 583.4 1208.6
12095 584.6 1210.9
12120 585.8 1213.2
12145 587 1215.5
12170 588.2 1217.8
12195 589.4 1220.1
12220 590.6 1222.4
12245 591.8 1224.7
12270 593 1227
12295 594.2 1229.3
12320 595.4 1231.6
12345 596.6 1233.9
12370 597.8 1236.2
12395 599 1238.5
12420 600.2 1240.8
12445 601.4 1243.1
12470 602.6 1245.4
12495 603.8 1247.7

set dgrid3d ,,8
set pm3d implicit at bs
unset key

Hans-Bernhard Bröker

unread,
Nov 28, 2009, 5:36:15 PM11/28/09
to
r wrote:
> I have tested an identical data set on 2 installations of gnuplot
> (both using version 42patch0) The 3d plot on machine 1 (mandriva 2008)
> shows the data correctly (z axis ztics range 0-1400); on machine 2
> (suse11) the 3d plot is wrong (z axis shows range of ztics values
> 10-90!) . Below is the source data.

[...]


> set dgrid3d ,,8
> set pm3d implicit at bs
> unset key

Sorry, but that won't suffice to describe the problem. We need an
actual, complete plot script that reproduces the problem.

That said, there really is no particularly good reason to still be using
4.2 patchlevel 0. You're 6 patchlevels behind the curve!

r

unread,
Dec 1, 2009, 5:03:31 AM12/1/09
to
On Nov 28, 10:36 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
wrote:

> r wrote:
> > I have tested an identical data set on 2 installations of gnuplot
> > (both using version 42patch0) The 3d plot on machine 1 (mandriva 2008)
> > shows the data correctly (z axis ztics range 0-1400); on machine 2
> > (suse11) the 3d plot is wrong (z axis shows range of ztics values
> > 10-90!) . Below is the source data.
>
> [...]
>
> > set dgrid3d ,,8
> > set pm3d implicit at bs
> > unset key
>
The above data was saved as 'test.dat' and the three lines of commands
as 'test.txt', on a third machine using gnuplot 42patch0 (commands,
load'test.txt' and splot'test.dat').

> Sorry, but that won't suffice to describe the problem.  We need an
> actual, complete plot script that reproduces the problem.
>

See above and repeat for yourself


> That said, there really is no particularly good reason to still be using
> 4.2 patchlevel 0.   You're 6 patchlevels behind the curve!

With respect I am free to use whichever version I want. Not interested
in the constant upgrade culture.

On the suse 11 machine this test was repeated using 42patch5 and the
error on that machine still occurred. If someone else would test and
advise if there is a configuration in the suse machine that I should
inspect, that would be appreciated. Thank you.

sfeam

unread,
Dec 1, 2009, 12:54:02 PM12/1/09
to
r wrote:

> On Nov 28, 10:36 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
> wrote:
>> r wrote:
>> > I have tested an identical data set on 2 installations of gnuplot
>> > (both using version 42patch0) The 3d plot on machine 1 (mandriva 2008)
>> > shows the data correctly (z axis ztics range 0-1400); on machine 2
>> > (suse11) the 3d plot is wrong (z axis shows range of ztics values
>> > 10-90!) . Below is the source data.
>>
>> [...]
>>
>> > set dgrid3d ,,8
>> > set pm3d implicit at bs
>> > unset key
>>
> The above data was saved as 'test.dat' and the three lines of commands
> as 'test.txt', on a third machine using gnuplot 42patch0 (commands,
> load'test.txt' and splot'test.dat').
>
>> Sorry, but that won't suffice to describe the problem.  We need an
>> actual, complete plot script that reproduces the problem.
>>
> See above and repeat for yourself

With respect, I must point out that you have given us no actual
plot command to test with. Nor is it clear exactly how anyone other
than you can determine if there are problems with your particular
machine. You have told us that the test case works correctly on
other machines, but fails on one particular machine. So yes, it sounds
like that machine has a problem. Without more information, how can we help?


If it helps any, using the bare command
splot 'bug.data'
on the data you provided produces a plot with the correct range on z
when tested here using several machines. Gnuplot versions 4.2.3, 4.2.5,
4.2.6 and current CVS source.



> On the suse 11 machine this test was repeated using 42patch5 and the
> error on that machine still occurred. If someone else would test and
> advise if there is a configuration in the suse machine that I should
> inspect, that would be appreciated. Thank you.

It's not clear whether you are building from source or using a
Suse distribution package. If you are saying that the Suse 11 gnuplot
package doesn't run correctly, that sounds like an issue for a Suse forum.
For that matter, if you are saying that source built on this one Suse
machine runs differently than the same source built on a different machine,
again it sounds like a Suse question, possibly involving compiler versions
or optimization levels.

r

unread,
Dec 2, 2009, 5:13:32 AM12/2/09
to
On 1 Dec, 17:54, sfeam <sf...@users.sourceforge.net> wrote:
> r wrote:
> > On Nov 28, 10:36 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
> > wrote:
> >> r wrote:
> >> > I have tested an identical data set on 2 installations of gnuplot
> >> > (both using version 42patch0) The 3d plot on machine 1 (mandriva 2008)
> >> > shows the data correctly (z axis ztics range 0-1400); on machine 2
> >> > (suse11) the 3d plot is wrong (z axis shows range of ztics values
> >> > 10-90!) . Below is the source data.
>
> >> [...]
>
> >> > set dgrid3d ,,8
> >> > set pm3d implicit at bs
> >> > unset key
>
> > The above data was saved as 'test.dat' and the three lines of commands
> > as 'test.txt', on a third machine using gnuplot 42patch0 (commands,
> > load'test.txt' and splot'test.dat').
>
> >> Sorry, but that won't suffice to describe the problem.  We need an
> >> actual, complete plot script that reproduces the problem.
>
> > See above and repeat for yourself
>
> With respect, I must point out that you have given us no actual
> plot command to test with.  Nor is it clear exactly how anyone other

load'test.txt'
splot'test.dat'

The commands above are accepted by my installations of gnuplot.
Therefore I cannot understand your statement.

> than you can determine if there are problems with your particular
> machine.  You have told us that the test case works correctly on
> other machines, but fails on one particular machine.  So yes, it sounds
> like that machine has a problem.  Without more information, how can we help?
>
> If it helps any, using the bare command
>     splot 'bug.data'
> on the data you provided produces a plot with the correct range on z
> when tested here using several machines.  Gnuplot versions 4.2.3, 4.2.5,
> 4.2.6 and current CVS source.
>
> > On the suse 11 machine this test was repeated using 42patch5 and the
> > error on that machine still occurred. If someone else would test and
> > advise if there is a configuration in the suse machine that I should
> > inspect, that would be appreciated. Thank you.
>
> It's not clear whether you are building from source or using a
> Suse distribution package.  If you are saying that the Suse 11 gnuplot
> package  doesn't run correctly, that sounds like an issue for a Suse forum.
> For that matter, if you are saying that source built on this one Suse
> machine runs differently than the same source built on a different machine,
> again it sounds like a Suse question, possibly involving compiler versions
> or optimization levels.

The installations are all from the official repositories of the
distributions, i.e. mandriva and opensuse. I did not know whether this
bug was because of gnuplot or the distribution as I asked originally.
I shall notify suse as it seems from your reply that a more likely
cause is something to do with the way that suse compiles gnuplot for
their repository. Thanks.

Petr Mikulik

unread,
Dec 3, 2009, 9:20:45 AM12/3/09
to r
I've checked that indeed the default gnuplot on OpenSUSE 11.1 gives a bit
different z coordinates than gnuplot 4.2.6. Looking to the commands you
request:

set dgrid3d ,,8
set pm3d implicit at bs
unset key
splot 'xx.dat'
I guess it was compiled with a gridding option which is not default in
./configure.

Anyway, the true problem is your data. These points form a line, not a
surface! So it makes absolutely no sense to draw a surface plot.
Gridding of such data gives nothing but artifacts.

---
PM

0 new messages