|
From: Thomas S. <t.s...@fz...> - 2009-03-07 12:49:56
|
use 'set rmargin' to increase the right margin a little bit. r.r...@fr... wrote: > > Hi guys, > > i'm a student from germany and i have a lil problem with a plot made with > GNUplot. > > My x-range is from 0 - 3000. this runs well, but the last zero from 3000 > is cut in half, so that you can see only the half of the last zero... like > 300( if ()=0, you know? > > here is the code, can one help me? > > set terminal png > set title "Fuzzygewichtung bei einer Drehzahl von 0-3000 U/Min" > set xrange [0:3000] > set xlabel "Drehzahl [U/Min]" > set ylabel "Gewichtung" > set output "fuzzydrehzahl.png" > set grid nopolar > set key right bottom > > set grid xtics nomxtics ytics nomytics noztics nomztics \ > nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics > set grid layerdefault linetype 0 linewidth 0.25, linetype 0 linewidth > 0.25 > s_0(x,a,ep) = 0 > s_1(x,a,ep) = 2*((x-a+ep)/(2*ep))**2 > s_2(x,a,ep) = 1-(2*((a-x+ep)/(2*ep))**2) > s_3(x,a,ep) = 1 > s(x,a,ep)= (x<=a-ep)? s_0(x,a,ep): \ > (x > a-ep && x<a)? s_1(x,a,ep): \ > (x>a && x<a+ep) ? s_2(x,a,ep): \ > s_3(x,a,ep) > unset label > plot (1-s(x,900,900))**2 title "sehr langsam", \ > 1-s(x,900,900) title "langsam", \ > 1-((1-s(x,900,900))**2) title "mittel langsam", \ > sqrt(s(x,1800,900)) title "etwas schnell", \ > s(x,1800,900) title "schnell", \ > (s(x,1800,900)**2) title "sehr schnell" > > -- View this message in context: http://www.nabble.com/Problem-with-the-x-scale-in-the-plot-tp22358220p22387279.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |