Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Suggestions for improvements please

16 views
Skip to first unread message

Dieter Britz

unread,
May 2, 2013, 4:45:35 AM5/2/13
to
I have a 2D figure for which I use splot:

http://www.dieterbritz.dk/2Dfig.pdf

I am unhappy with some features.

The axis numbers are too close to the axis; how
do I get them removed a bit?

In each plot, the base level starts above the floor.
How do I put it down to the floor?

Here is the bash script I use to plot this

gnuplot << eoi
set term postscript enh eps 24 size 8, 4
set output '2Dfig.eps'
set nokey
set multiplot layout 1, 2
set xlabel '{/Symbol q}'
set ylabel '{/Symbol G}'
set zlabel 'S'
set xrange [0:1.58]
set xtics 0, 0.5, 1.5
set yrange [0:0.65]
set ytics 0, 0.2, 0.6
set zrange [0.15:1]
set ztics 0, 0.2, 1
splot 'SGT.dat' w l lt 1
set zlabel 'P'
set zrange [0:0.4]
splot 'PGT.dat' w l lt 1
quit
eoi

Thanks for any advice on how to improve the figure.
--
Dieter Britz

Christoph Bersch

unread,
May 2, 2013, 8:28:21 AM5/2/13
to
Am 02.05.2013 10:45, schrieb Dieter Britz:
>
> The axis numbers are too close to the axis; how
> do I get them removed a bit?

set xtics offset 0,-1
set ytics offset 1

> In each plot, the base level starts above the floor.
> How do I put it down to the floor?

set xyplane at 0

Christoph

Dieter Britz

unread,
May 2, 2013, 10:04:31 AM5/2/13
to
Perfect, thanks!

--
Dieter Britz
0 new messages