Hans-Bernhard Broeker <broeker <at> physik.rwth-aachen.de> writes:
>
> On Mon, 6 Dec 2004, Hans-Bernhard Broeker wrote:
>
> > Not necessarily. It depends on how you "installed tried" it. There are
> > 2 radically different versions of cscope
> ^^^^^^
>
> Argh, that should have said "gnuplot" of course.
>
I just use the one (and only?) version that came with cygwin.
> gnuplot --version
gnuplot 4.0 patchlevel 0
/Tompa

Hans-Bernhard Broeker <broeker <at> physik.rwth-aachen.de> writes:
> depends on how you "installed tried" it.
Oups. I meant to say "tried". I have a plain installation of cygwin (binaries
only - no sources here...) and have used it successfully for a while. Today I
thought I could use gnuplot to visualize some graphs for my weatherstation.
> You have the manual (info gnuplot, or 'help gnuplot' from the running
> program --- your choice). Read it.
Yes I have the manual and I have read it too. I thought my original problem
(not seeing any graphs at all) was tightly coupled with the missing file output.
Now, I found out that I must start x before running gnuplot! If I start x and
the plot sin(x) a nice sinus curve is drawn on screen :-)
However, the output to file does still not work?!
Here is what happens:
gnuplot> set output "sinus.jpg"
gnuplot> plot sin(x)
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
This makes no sense to me :-(
A file sinus.jpg is created - but it is empty (size=0).
Two questions:
1) How do I work around the erroneous behaviour above?
2) Must x really be running for gnuplot to output graphic files?
/Tompa

On Mon, 6 Dec 2004, Hans-Bernhard Broeker wrote:
> Not necessarily. It depends on how you "installed tried" it. There are
> 2 radically different versions of cscope
^^^^^^
Argh, that should have said "gnuplot" of course.
--
Hans-Bernhard Broeker (broeker@...)
Even if all the snow were burnt, ashes would remain.

On Mon, 6 Dec 2004, Tompa wrote:
> I just installed tried gnuplot under cygwin on my windows xp machine like:
> gnuplot> plot sin(x)
>
> Unfortunately, no graphics are output? Shouldn't another graphics window
> automatically open???
Not necessarily. It depends on how you "installed tried" it. There are
2 radically different versions of cscope that can be built from the Cygwin
environment. One of them (the './configure' built one) is likely to
behave as you describe, if you configured and built it for X11 support,
but don't have an X server running for it to use.
> Can I specify the output as a file (to view the file with my ordinary
> imageviewer)?
You have the manual (info gnuplot, or 'help gnuplot' from the running
program --- your choice). Read it.
--
Hans-Bernhard Broeker (broeker@...)
Even if all the snow were burnt, ashes would remain.

Hi,
I just installed tried gnuplot under cygwin on my windows xp machine like:
gnuplot> plot sin(x)
Unfortunately, no graphics are output? Shouldn't another graphics window
automatically open??? I thought it would work out-of-box... Must I perform some
action like setting an environment variable first to get it to work?
Can I specify the output as a file (to view the file with my ordinary
imageviewer)?
Thanks!
/Tompa

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details