Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3080 > unrolled thread
| Started by | Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> |
|---|---|
| First post | 2015-09-15 11:15 +0200 |
| Last post | 2015-09-15 13:50 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
plot "mystuff.txt" using 1:(log($2)) crashes. Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-09-15 11:15 +0200
Re: plot "mystuff.txt" using 1:(log($2)) crashes. Jörg Buchholz <bookwood4new@freenet.de> - 2015-09-15 11:45 +0200
Re: plot "mystuff.txt" using 1:(log($2)) crashes. Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-09-15 13:50 +0200
| From | Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> |
|---|---|
| Date | 2015-09-15 11:15 +0200 |
| Subject | plot "mystuff.txt" using 1:(log($2)) crashes. |
| Message-ID | <alpine.WNT.2.20.1509151112170.1952@dhcp3-6> |
Gnuplot says: all points y value undefined! My xrange is strictly positive. It works using exp, sqrt or sin instead of log. Does anybody know why it fails with log or log10? Bye, -- Jean-Pierre Coulon
[toc] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2015-09-15 11:45 +0200 |
| Message-ID | <mt8pb9$55v$1@newsserver.rrzn.uni-hannover.de> |
| In reply to | #3080 |
On 15.09.2015 11:15, Jean-Pierre Coulon wrote:
> Gnuplot says: all points y value undefined! My xrange is strictly positive.
>
> It works using exp, sqrt or sin instead of log. Does anybody know why it
> fails with log or log10?
Have you tested it with simple data?
gnuplot> plot '-' u 1:(log($2)) w lp
input data ('e' ends) > 1 2
input data ('e' ends) > 2 3
input data ('e' ends) > 3 4
input data ('e' ends) > 4 5
input data ('e' ends) > e
works normal with 5.0.1
Jörg
[toc] | [prev] | [next] | [standalone]
| From | Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> |
|---|---|
| Date | 2015-09-15 13:50 +0200 |
| Message-ID | <alpine.WNT.2.20.1509151349240.1952@dhcp3-6> |
| In reply to | #3081 |
Sorry, I had left my y axis in log, from the previous plot. But we could expect a more specific error message! -- Jean-Pierre Coulon
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web