|
From: Gavin B. <gav...@ya...> - 2005-03-03 09:24:05
|
hi katja,
Yes, you can change the colour of the lines by setting
the plot to be with lines (w l) and the line type
(lt):
plot x w l lt 1
replot 2*x w l lt 3
if you type test a test screen showing you all the
colours and symbols and things for your terminal
should pop up.
> Hi,
> I have a simple gnuplot with 2 Lines
>
> p x
> rep 2*x
>
> The first color is red, the second green. Is it
> possible to change these colors to e.g. red and
> blue?
>
> Thanks for an answer,
> Katja
Hi David,
As far as i know there are two ways to insert
different symbols and things into gnuplot. You can set
the terinal to latex and output in latex picture
format - allowing you to choose from the wide range of
latex symbols and things.
I usualy use postscript though. For example,
set term post
set output 'out.ps'
plot sin(x)
set term x11
will plot sin(x) to the file out.ps and then return
the terminal to the window (x11 for unix and linux).
if you want to set the xlabel to x**2, then try
set xlabel 'x^2'
You can do greek letters and things using
{/Symbol t} for example to get tau.....
take a look at
mos.stanford.edu/papers/Plotting.pdf
> Hi
>
> I am using the latest version 4.0 of gnuplot and
> Windows XP. I am =
> currently preparing graphs for publication in
> scientific journals and =
> unfortunately find that most journals do not allow
> computer notation =
> (1e3 or 10**2 ) but insist on standard scientific
> notation. Is there any =
> way to use scientific notation in labels with
> gnuplot. It is such an =
> excellent tool that it seems a pity to limit its use
> through this =
> difficulty.
>
> Thanks for any help
>
> David Herbert
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|