|
From: Ghoddousi-Fard, R. <c4...@un...> - 2006-07-17 18:51:38
|
Hello, I just installed gnuplot-4.0.0 on LINUX REDHAT 9. After running I get: Terminal type set to 'unknown' I am able to change it using 'set term' to a list of available terminal types but none of them( that I have tried so far) provide me any graphical result. Furthermore when I exit and again run the gnuplot I get again "Terminal type set to 'unknown' ". Could you please let me know how can I fix this problem in order to get graphical plots and then save those as gif or JPG or ... files? Thanks Reza |
|
From: Dieter J. <die...@t-...> - 2006-07-17 19:35:05
|
Hi Reza,
'help set terminal'
on a gnuplot-commandline ought to be your friend ....
Moreover, 'help set output' will tell you how to get those data into files =
so=20
you can further process them.
man gnuplot isn't too bad, either.
Take care
Dieter
Am Montag, 17. Juli 2006 20:51 schrieb Ghoddousi-Fard, Reza:
> Hello,
>
> I just installed gnuplot-4.0.0 on LINUX REDHAT 9.
> After running I get:
> Terminal type set to 'unknown'
> I am able to change it using 'set term' to a list of available terminal
*****
=2D-=20
=2D----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<=B0=B0__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
=2D----------------------------------------------------------
|
|
From: <br...@ph...> - 2006-07-17 20:48:25
|
Ghoddousi-Fard, Reza wrote: > Hello, > > I just installed gnuplot-4.0.0 on LINUX REDHAT 9. > After running I get: > Terminal type set to 'unknown' That's almost certainly not what you want to get at that point. Your build failed to get X11 support. Odds are you'ld have fared better installing the binary RPM instead of building your own. > I am able to change it using 'set term' to a list of available terminal types but none > of them( that I have tried so far) provide me any graphical result. It's almost impossible to help you with that if you don't tell us what exactly you tried, and what was "not graphical" about the result. > Could you please let me know how can I fix this problem in order to get graphical plots > and then save those as gif or JPG or ... files? RTFM. 'help set terminal' and 'help set output', in particular. |
|
From: Ghoddousi-Fard, R. <c4...@un...> - 2006-07-17 20:11:24
|
How can I find that I have X11 in my LINUX?
Could you please explain how can I installing the binary RPM?
When I eg. try
set term tgif
plot sin(x)
i get lines like this:
.....
poly('black',5,[
119,648,971,648,971,70,119,70,119,648],0,2,1,70,0,0,0,0,8,3,0,[
]).
Thanks
Reza
Quoting Hans-Bernhard Br=F6ker <br...@ph...>:
> Ghoddousi-Fard, Reza wrote:
> > Hello,
> >=20
> > I just installed gnuplot-4.0.0 on LINUX REDHAT 9.=20
> > After running I get:
> > Terminal type set to 'unknown'
>=20
> That's almost certainly not what you want to get at that point. Your
> build failed to get X11 support. Odds are you'ld have fared better
> installing the binary RPM instead of building your own.
>=20
> > I am able to change it using 'set term' to a list of available termi=
nal types but
> none
> > of them( that I have tried so far) provide me any graphical result.=20
>=20
> It's almost impossible to help you with that if you don't tell us what=20
> exactly you tried, and what was "not graphical" about the result.
>=20
> > Could you please let me know how can I fix this problem in order to g=
et graphical
> plots
> > and then save those as gif or JPG or ... files?
>=20
> RTFM. 'help set terminal' and 'help set output', in particular.
>=20
>=20
>=20
|
|
From: <br...@ph...> - 2006-07-17 21:04:24
|
Ghoddousi-Fard, Reza wrote:
> How can I find that I have X11 in my LINUX?
If you don't know you do, you have it. But that's not your problem.
The problem is that you built your own gnuplot, but failed to install
enough of the other packages first so the build of gnuplot could work
well. In particular, you're missing the "development" part of the X11
installation.
> Could you please explain how can I installing the binary RPM?
This is not the place to get problems with basic use of a Linux
distribution solved. Frankly, if you can't manage to install RPM's off
your CDs, building your own gnuplot is beyond your skills.
> When I eg. try
> set term tgif
> plot sin(x)
>
> i get lines like this:
>
>
> .....
> poly('black',5,[
> 119,648,971,648,971,70,119,70,119,648],0,2,1,70,0,0,0,0,8,3,0,[
> ]).
Of course you do, for two reasons:
1) There's one 't' too many in those commands you tried, which rather
directly prevents it from generating GIF files.
2) You went back to try-and-error immediately after reading 'help set
term', but didn't bother to read 'help set output', too, as you had been
told to.
But the real problem is probably elsewhere: just as you don't have X11
development installed, you almost certainly don't have any GIF-writing
development packages installed either.
|