Mailinglist Archive: opensuse (1047 mails)

< Previous Next >
Re: [opensuse] gnuplot -p plotfile.plt (no zoom, scale, etc.) no communication with persistent window??
On 01/19/2016 04:19 PM, Serafino Conflitti wrote:
I have the same version running on os 13.1.

When you say "like all communication", do you mean from the
mouse to gnuplot or gnuplot keyboard to the window or both?

Serafino

I mean partially from both. When I run with 'gnuplot -p plotfile.plt', pressing rt-button (drag) rt-button (click) does not 'zoom'. pressing 'h' does not output help to the terminal, clicking on any of the toolbar tools does nothing e.g. ['Replot', 'Show Grid', 'Previous zoom', 'Next zoom', 'Autoscale']

It is like it has lost its terminal context. (which makes some sense, but it has always worked before) But running from the gnuplot> prompt -- everything works.

Try it on the two attached files.

Test (1)

$ gnuplot -p vmag.plt

(try and turn grid on/off, zoom, etc. -- doesn't work)

Test (2)

$ gnuplot
gnuplot> plot "vmag.txt" using 1:3 title 'velocity y', "vmag.txt" using 1:5 title 'velocity'

(try the same -- it works)

I recall it working regardless of how the plot was created, but I can't think of what change would have caused any difference in behavior now.

attached:

vmag.plt - plot file
vmag.txt - data file

--
David C. Rankin, J.D.,P.E.
plot \
"./vmag.txt" using 1:3 title 'velocity y', \
"./vmag.txt" using 1:5 title 'velocity'
0.000000 3.000000 4.000000 0.000000 5.000000
0.010000 3.000000 3.678260 0.000000 4.746535
0.020000 3.000000 3.356520 0.000000 4.501803
0.030000 3.000000 3.034780 0.000000 4.267305
0.040000 3.000000 2.713040 0.000000 4.044822
0.050000 3.000000 2.391300 0.000000 3.836446
0.060000 3.000000 2.069560 0.000000 3.644596
0.070000 3.000000 1.747820 0.000000 3.472013
0.080000 3.000000 1.426080 0.000000 3.321702
0.090000 3.000000 1.104340 0.000000 3.196806
0.100000 3.000000 0.782600 0.000000 3.100397
0.110000 3.000000 0.460860 0.000000 3.035192
0.120000 3.000000 0.139120 0.000000 3.003224
0.130000 3.000000 -0.182620 0.000000 3.005553
0.140000 3.000000 -0.504360 0.000000 3.042101
0.150000 3.000000 -0.826100 0.000000 3.111662
0.160000 3.000000 -1.147840 0.000000 3.212092
0.170000 3.000000 -1.469580 0.000000 3.340609
0.180000 3.000000 -1.791320 0.000000 3.494113
0.190000 3.000000 -2.113060 0.000000 3.669472
0.200000 3.000000 -2.434800 0.000000 3.863709
0.210000 3.000000 -2.756540 0.000000 4.074127
0.220000 3.000000 -3.078280 0.000000 4.298349
0.230000 3.000000 -3.400020 0.000000 4.534329
0.240000 3.000000 -3.721760 0.000000 4.780324
0.250000 3.000000 -4.043500 0.000000 5.034868
0.260000 3.000000 -4.365240 0.000000 5.296727
0.270000 3.000000 -4.686980 0.000000 5.564870
0.280000 3.000000 -5.008720 0.000000 5.838431
0.290000 3.000000 -5.330460 0.000000 6.116682
0.300000 3.000000 -5.652200 0.000000 6.399013
0.310000 3.000000 -5.973940 0.000000 6.684905
0.320000 3.000000 -6.295680 0.000000 6.973922
0.330000 3.000000 -6.617420 0.000000 7.265690
0.340000 3.000000 -6.939160 0.000000 7.559890
0.350000 3.000000 -7.260900 0.000000 7.856250
0.360000 3.000000 -7.582640 0.000000 8.154534
0.370000 3.000000 -7.904380 0.000000 8.454539
0.380000 3.000000 -8.226120 0.000000 8.756086
0.390000 3.000000 -8.547860 0.000000 9.059024
0.400000 3.000000 -8.869600 0.000000 9.363215
0.410000 3.000000 -9.191340 0.000000 9.668543
0.420000 3.000000 -9.513080 0.000000 9.974903
0.430000 3.000000 -9.834820 0.000000 10.282202
0.440000 3.000000 -10.156560 0.000000 10.590359
0.450000 3.000000 -10.478300 0.000000 10.899301
0.460000 3.000000 -10.800040 0.000000 11.208964
0.470000 3.000000 -11.121780 0.000000 11.519288
0.480000 3.000000 -11.443520 0.000000 11.830222
0.490000 3.000000 -11.765260 0.000000 12.141719
0.500000 3.000000 -12.087000 0.000000 12.453737
0.510000 3.000000 -12.408740 0.000000 12.766238
0.520000 3.000000 -12.730480 0.000000 13.079187
0.530000 3.000000 -13.052220 0.000000 13.392552
0.540000 3.000000 -13.373960 0.000000 13.706305
0.550000 3.000000 -13.695700 0.000000 14.020421
0.560000 3.000000 -14.017440 0.000000 14.334874
0.570000 3.000000 -14.339180 0.000000 14.649644
0.580000 3.000000 -14.660920 0.000000 14.964711
0.590000 3.000000 -14.982660 0.000000 15.280056
0.600000 3.000000 -15.304400 0.000000 15.595662
0.610000 3.000000 -15.626140 0.000000 15.911513
0.620000 3.000000 -15.947880 0.000000 16.227596
0.630000 3.000000 -16.269620 0.000000 16.543897
0.640000 3.000000 -16.591360 0.000000 16.860404
0.650000 3.000000 -16.913100 0.000000 17.177105
0.660000 3.000000 -17.234840 0.000000 17.493991
0.670000 3.000000 -17.556580 0.000000 17.811050
0.680000 3.000000 -17.878320 0.000000 18.128274
0.690000 3.000000 -18.200060 0.000000 18.445655
0.700000 3.000000 -18.521800 0.000000 18.763184
0.710000 3.000000 -18.843540 0.000000 19.080854
0.720000 3.000000 -19.165280 0.000000 19.398659
0.730000 3.000000 -19.487020 0.000000 19.716591
0.740000 3.000000 -19.808760 0.000000 20.034644
0.750000 3.000000 -20.130500 0.000000 20.352814
0.760000 3.000000 -20.452240 0.000000 20.671094
0.770000 3.000000 -20.773980 0.000000 20.989479
0.780000 3.000000 -21.095720 0.000000 21.307966
0.790000 3.000000 -21.417460 0.000000 21.626548
0.800000 3.000000 -21.739200 0.000000 21.945223
0.810000 3.000000 -22.060940 0.000000 22.263986
0.820000 3.000000 -22.382680 0.000000 22.582833
0.830000 3.000000 -22.704420 0.000000 22.901762
0.840000 3.000000 -23.026160 0.000000 23.220768
0.850000 3.000000 -23.347900 0.000000 23.539848
0.860000 3.000000 -23.669640 0.000000 23.859000
0.870000 3.000000 -23.991380 0.000000 24.178220
0.880000 3.000000 -24.313120 0.000000 24.497506
0.890000 3.000000 -24.634860 0.000000 24.816856
0.900000 3.000000 -24.956600 0.000000 25.136266
0.910000 3.000000 -25.278340 0.000000 25.455736
0.920000 3.000000 -25.600080 0.000000 25.775261
0.930000 3.000000 -25.921820 0.000000 26.094841
0.940000 3.000000 -26.243560 0.000000 26.414474
0.950000 3.000000 -26.565300 0.000000 26.734157
0.960000 3.000000 -26.887040 0.000000 27.053889
0.970000 3.000000 -27.208780 0.000000 27.373668
0.980000 3.000000 -27.530520 0.000000 27.693493
0.990000 3.000000 -27.852260 0.000000 28.013361
< Previous Next >