I would like to change some defaults of the gnuplot-settings (and am not
able to do so). Therefore I'd like to ask for some help:
- The changes should be valid in x11 and in postscript terminal !
(WYSIWYG)
- Can I change the default linewidth ? What I want is the following:
When I enter
p sin(x)
Gnuplot should plot sin(x) with a linewidth of 2 (either in x11 or
in postscript)
-Can I change the default fontsize. The fontsize should be valid for
x11 and postscript at the same time.
Thanks for any advices, links, references etc ...
Andreas
This is what makes both individual tasks hard, if not impossible.
> - Can I change the default linewidth ? What I want is the following:
> When I enter
> p sin(x)
> Gnuplot should plot sin(x) with a linewidth of 2 (either in x11 or
> in postscript)
There is no global linewidth default in the gnuplot core, and of X11
and PostScript, only the former offers a terminal-specific way of
setting one (by overriding all the widths in the X11 resources). So
this can't be done.
> -Can I change the default fontsize. The fontsize should be valid for
> x11 and postscript at the same time.
This is possible, but only by separate commands for X11 and
PostScript. No single command will alter two separate terminal
drivers at the same time. For X11, you do this via X11 tookit options
(or X resources, equivalently). For PostScript, you can specify the
fontsize in the 'set term postscript' line.
--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
plot "a_file" using 1:2 title "data1" with lines, "a_file" using 1:3 title
"data2" with lines
I can see the titles "data1" and "data2" on my gnuplot. But when I did
output to postscript file, they were gone.
Can anyone tell me what went worng?
thanks,
JW
Not from what information you gave. You'll have to detail how, exactly,
you created that output to postscript file, for starters. Something like
set terminal postscript color solid
set output 'myplot.ps'
load 'thatfile.gnu'
set output
set terminal win # ... or whatever it usually is...
should always work. If it doesn't, mail the generated postscript,
your 'thatfile.gnu', and both datafiles to bug-g...@dartmouth.edu
and we'll see what went wrong. Also tell the platform you're running
on, and what version of gnuplot.