|
From: Leonardo L. G. <leo...@gm...> - 2005-07-11 19:49:05
|
Thanks a lot, really helps!
I didn't now about the CD thing at all
Since you said it works, I gotta believe in you.
All that is actually "generated" by my program, so i didn't see that warnin=
g=20
message really, my bad.
Thanks again!
On 7/11/05, Hans-Bernhard Broeker <br...@ph...> wrote:=
=20
>=20
> Leonardo Luigi Giacomet wrote:
> > Anyhow, I must plot a graph from a file to a .png, I've got all the=20
> commands
> > right, but it apparently creates a .png file that crashes Windows=20
> Explorer
> > and Internet Explorer.
>=20
> I tried to reproduce your failure using the distributed native Windows
> binary of gnuplot version 4.0.0, but all went nicely. Which means
> whatever the actual problem is, it's related to one of the aspects that
> differ between the box I tested this on, and yours:
>=20
> 1) What version and SP level of Windows (and IE)?
> 2) What version of gnuplot ("show version long" output)?
> 3) The path names you're using are rather excessively long. That may
> contribute to the problem. I used an inline data file, and a very
> short output name in the current working directory.
>=20
> I suggest you try the following modifications to the command script:
>=20
> Instead of
>=20
> > set output
> >=20
> 'H:\homewin\30pcento\FLI_Traffic\Traffic1\Out\relatorios\Images\Throughpu=
t10-
> > 5.png'
>=20
> cd 'h:\homewin\30pcento\FLI_Traffic\Traffic1\Out\relatorios'
> set output 'Images\Throughput10-5.png'
>=20
> By cd'ing to the shared toplevel directory, you keep the remaining
> commands shorter and more legible. So instead of
>=20
> > plot
> >=20
> 'H:\homewin\30pcento\FLI_Traffic\Traffic1\Out\relatorios\dat\GraphThrough=
put10-
> > 5.vloh' using ($1):($2) t "" with linespoints 5 5
>=20
> you can write
>=20
> p 'dat\GraphThroughput10-5.vloh' u ($1):($2) t "" w lp lt 5 pt 5
>=20
> And add a line
>=20
> set output
>=20
> at the end of the script, to close the output file.
>=20
> > And since I'm here, i should also suggest that they warn people that
> > gnuplot won't create the folders for the output file if they doesn't=20
> exist,
>=20
> What do you mean 'suggest that [we] warn'? Look:
>=20
> gnuplot> set out '\doesnt_exist\foo.png'
> ^
> cannot open file; output not changed
>=20
> If you don't get this message, that's because the version of gnuplot
> you're using has no place to put it.
>
|