Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The "all points y value undefined" error

2,133 views
Skip to first unread message

mike

unread,
Jun 7, 2005, 2:27:22 AM6/7/05
to
Hi,

I'm trying to produce a plot using answers from the "Decimal seconds
display" thread in this group.

It works fine with gnuplot 3.7 but gives me the "all points y value
undefined!" message with version 4.0

Can anyone help?

Thanks,

Mike

Theo Hopman

unread,
Jun 7, 2005, 9:10:10 AM6/7/05
to

No, because you haven't told us what you're doing, in particular what
changed between now and your "It works! Great!" post. Please provide a
minimal script and datafile which reproduce the apparent problem.
<rant> Why is this so hard? One can't go to a doctor, say only "I
hurt", and then reasonably expect an accurate diagnosis. Neither
doctors nor we are mind-readers! </rant>

Judging from the error message, I would say that all points have their
y value undefined. Check your y range, and verify that you're plotting
valid points, i.e., not infinity or NaN. (This is probably as useful as
the hypothetical doctor saying "Well, that's because you're in pain.")

THeo

mike

unread,
Jun 7, 2005, 1:43:40 PM6/7/05
to
1. I'm doing the same things on another machine. I used a SuSE Linux
box with gnuplot 3.7 for tests and moved to HP-UX 11i box with gnuplot
4.0 for production. It worked on Linux and does not work on HP.
2. The data file is the same one:
24052005 145150 028 27
24052005 145150 104 20
24052005 145150 184 16
24052005 145150 254 16
24052005 145150 334 20
24052005 145150 414 19
24052005 145150 496 13
24052005 145150 566 24
24052005 145150 646 12
24052005 145150 726 14
24052005 145151 726 14

3. The commands are also the same:
set xdata time
set timefmt "%d%m%Y %H%M%S"
set format x "%H:%M:%S"
plot 'small.dat' using (timecolumn(1)+$3*0.001):4 t

4. The result is "all points y value undefined!"

Ethan Merritt

unread,
Jun 7, 2005, 1:51:12 PM6/7/05
to
In article <1118166220.3...@f14g2000cwb.googlegroups.com>,

mike <Michael...@gmail.com> wrote:
>1. I'm doing the same things on another machine. I used a SuSE Linux
>box with gnuplot 3.7 for tests and moved to HP-UX 11i box with gnuplot
>4.0 for production. It worked on Linux and does not work on HP.
>
>3. The commands are also the same:
>set xdata time
>set timefmt "%d%m%Y %H%M%S"
>set format x "%H:%M:%S"
>plot 'small.dat' using (timecolumn(1)+$3*0.001):4 t
>
>4. The result is "all points y value undefined!"

timecolumn was not supported in version 4.0, though it did exist
as an undocumented feature. It was re-worked recently, and added
to the documentation.

Your example fails here using version 4.0, as you said, but it
works using version 4.1 So the the problem seems to have been fixed.


--
Ethan A Merritt

mike

unread,
Jun 7, 2005, 11:56:39 PM6/7/05
to
Since I could not find version 4.1 neither on gnuplot.info nor on the
Sourceforge I went back to 3.7. It runs on HP as expected.

Thank you for help.

Mike

Theo Hopman

unread,
Jun 8, 2005, 10:24:07 AM6/8/05
to

mike wrote:
> Since I could not find version 4.1 neither on gnuplot.info nor on the
> Sourceforge I went back to 3.7. It runs on HP as expected.

4.1 is the development version, as described on the lower left of the
gnuplot home page at www.gnuplot.info. Instructions for downloading and
compiling the source are there as well. Since it's the development
version, there's no pre-compiled binary, not that such a thing has ever
been officially offered to the best of my knowledge for OSes like
Solaris or HPUX.

THeo

0 new messages