Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2686
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2015-01-08 11:22 -0800 |
| References | (1 earlier) <m8iu6c$dnl$1@news.rz.uni-karlsruhe.de> <baf44901-b7ab-42a8-9e1a-b243616e4812@googlegroups.com> <m8jgbb$ssj$1@news.rz.uni-karlsruhe.de> <0b45a2da-fdec-4477-9dc1-07c925876169@googlegroups.com> <m8majf$9na$1@news.rz.uni-karlsruhe.de> |
| Message-ID | <620f9303-28bf-4f85-aae1-08d84f6f3c87@googlegroups.com> (permalink) |
| Subject | Re: Is it possible to set Y-axis to integer only |
| From | linyphia@gmail.com |
confirmed.
460: set yrange [ 0.00000 : 10.0000 < * ] noreverse nowriteback # (currently [:1.00000] )
466: set yrange [ 0.00000 : 10.0000 < * ] noreverse nowriteback # (currently [:2.00000] )
Yes, I am using Debian Wheezy.
And right again, when I upgraded from Backports to 466 that problem was gone (excellent!).
In my homepage server they also use Debian Wheezy but I cannot affect the gnuplot version.
Had to try if I could simply use new binary, but its a no go (surprise), libraries should be upgraded too :)
But anyway, at home things are finally working.
About that reset thing, I cannot reproduce it anymore.
Hmmm, maybe this time it was me that had malfunction :)
It was that "set output filename" that I had the problem with.
Could it been because I was misusing the "set term".
I changed the code to following and its working perfectly now with 466:
# dummy plotting to set GPVAL-variables
set term unknown
plot "< tail -7 bugs.data" using 2 with lines
# outlook
unset xtics
set key off
set term png
set output 'bugs-week.png'
set xlabel "days: 7 (" . system("date +'%d-%b-%Y %H:%M'") . ")"
# no decimal points nor negative values in Y-axis
maxy=(GPVAL_DATA_Y_MAX - GPVAL_DATA_Y_MIN < 11 ? 10 : GPVAL_DATA_Y_MAX)
set yrange [GPVAL_DATA_Y_MIN:maxy<*]
refresh
Again, big thanks for all your help!
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is it possible to set Y-axis to integer only linyphia@gmail.com - 2015-01-06 09:04 -0800
Re: Is it possible to set Y-axis to integer only Karl <mail.kfr@gmx.net> - 2015-01-07 10:27 +0100
Re: Is it possible to set Y-axis to integer only linyphia@gmail.com - 2015-01-07 03:18 -0800
Re: Is it possible to set Y-axis to integer only Karl <mail.kfr@gmx.net> - 2015-01-07 15:37 +0100
Re: Is it possible to set Y-axis to integer only linyphia@gmail.com - 2015-01-08 07:35 -0800
Re: Is it possible to set Y-axis to integer only Karl <mail.kfr@gmx.net> - 2015-01-08 17:17 +0100
Re: Is it possible to set Y-axis to integer only linyphia@gmail.com - 2015-01-08 11:22 -0800
Re: Is it possible to set Y-axis to integer only Karl <mail.kfr@gmx.net> - 2015-01-09 10:13 +0100
csiph-web