I have ubuntu 12.04 (64bit) and I have GNUPLOT Version 4.4 patchlevel 3 (sytem kernel Linux 3.2.0-34-generic). I'm using gnuplot already for 5 years, and I was able to draw a plot like this:
plot "data.txt" using 1:($3/$2) title "title" smooth bezier
or
plot "data.txt" using 1:($3/$2) title "title" smooth csplines
but with that "new" version bezier and scplines are invalid commands.. ..would I need to install smth additional? Or there is (hope not) just more "downgrade" with new version than "upgrade" (cause that's not only problem I have, but It's the most annoying) --
BR,
Nika
Care showing the actual error message that had you conclude that these had become "invalid commands"?
I ask because no, there's been no downgrade. I have no idea who broke that version of gnuplot you're using --- but it wasn't us. Both "smooth bezier" and "smooth csplines" work just fine, and have been for well over a decade now.
sure here is my smth.plt file:
set xlabel "x"
set ylabel "y"
set ticslevel 0;
set pointsize 0.5
splot "poskusi2.dat" using 1:2:3 with points ls 7 ,\ " " using 1:2:3 w smooth csplines
and here is gnuplot "opinion" about my command load "smth.plt":
gnuplot> load "poskusi1.plt"
"poskusi1.plt", line 10: warning: Skipping unreadable file " "
gnuplot> splot "poskusi2.dat" using 1:2:3 with points ls 7 ," " using 1:2:3 w sm
ooth csplines
^
"smth.plt", line 10: expecting 'lines', 'points', 'linespoints', 'dots', 'impulses',
'yerrorbars', 'xerrorbars', 'xyerrorbars', 'steps', 'fs
same I got out if I put instead of "csplines" "bezier"
and also:
gnuplot> csplines --help
^
invalid command
gnuplot> smooth bezier --help
^
invalid command
and I get same output if I try to use it on 2D plots. Hope it helps to solve that.
btw: it use to work
plot "data.dat" using 1:2 w points 7
now if I want to have same plot I need to write ..." w points ls 7" or gnuplot doesn't understand what that 7 means...
> ... " " using 1:2:3 w smooth csplines
...
>gnuplot> load "poskusi1.plt"
>"poskusi1.plt", line 10: warning: Skipping unreadable file " "
gnuplot does not find the file " ". Try "" - without a space - instead!
>gnuplot> smooth bezier --help
>^
>invalid command
That has never been a valid gnuplot command. Try `help smooth bezier` instead.
Otherwise smoothing works perfectly fine on my Ubuntu 12.04 system (32bit).
Try e.g. the demo "mgr.dem".
And now if you compare the commands you actually used with the ones you said didn't work, you'll find out that
a) none of those commands, as presented here, actually worked. Ever.
b) the problems are all in the differences between those commands you said didn't work and those you actually used:
b1) "w" cannot be followed by "smooth", and never could
b2) 'smooth' is not a stand-alone command, nor has it ever been one
b3) " " is not the same as "", as far as special filenames are concerned
In short, your problem is totally unrelated to what you said it was.