[Bug 476591] [NEW] cdck generated plot-file can't read from gnuplot
gregor herrmann
gregor+debian at comodo.priv.at
Fri Nov 6 16:45:02 UTC 2009
On Fri, 06 Nov 2009 15:40:15 -0000, Lödur wrote:
> I've read in the manual page of cdck, that I can save the result in a dat-file to represent it with gnuplot.
> But the generated dat-file can't read from gnuplot.
>
> o Now I opened a gnome -terminal and typing the following and press [Enter]:
> cdck -p
And then?
My guess:
* You got the file cdck-plot.dat~
* You ran `gnuplot cdck-plot.dat~' and got:
#v+
gregoa at belanna:/tmp$ gnuplot cdck-plot.dat~
0 9
^
"cdck-plot.dat~", line 2: invalid command
gregoa at belanna:/tmp$
#v-
After reading a bit about gnuplot it seems that this is not the way
to actually plot a datafile. What works for me is (plot.dat is a
shortened version of your cdck-plot.dat~):
#v+
gregoa at belanna:/tmp$ gnuplot
G N U P L O T
Version 4.2 patchlevel 6
last modified Sep 2009
System: Linux 2.6.31.200910290028
Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'wxt'
gnuplot> plot "plot.dat"
[enjoy plot]
gnuplot> q
gregoa at belanna:/tmp$
#v-
Another option would be to add
plot '-'
as the first line of the datafile and
end
pause -1
at the end, then `gnuplot plot.dat' also works; but I'm nor sure the
"pause -1" is what's wanted in each case.
IMO there is no real bug in cdck, but I cann add a note to the manpage
about how to use the datafile.
Cheers,
gregor (cdck maintainer in Debian)
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Spider Murphy Gang: Rock'n Roll Maschin'
--
cdck generated plot-file can't read from gnuplot
https://bugs.launchpad.net/bugs/476591
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list