On 2 Apr., 23:46, sfeam <
sf...@users.sourceforge.net> wrote:
> T4b wrote:
> > I'm using gnuplot (version 4.4.4 because it's in the ubuntu repos and
> > I couldn't get the newer one to compile) to generate a sun dial and
> > then export it to dxf.
> > In principle that works, but I have several things which I want to
> > improve:
> > -I can't align the graphs properly, I got them to align more or
> > less right but when looking at the dxf file very closely the origin of
> > the graphs are still a little off. How do I get all 30 graphs to have
> > exactly the same origin?
>
> set lmargin at screen <fraction>
> set rmaring at screen <fraction>
> etc
>
> See
>
http://gnuplot.sourceforge.net/demo_4.4/margins.html
This doesn't seem to work. Maybe I'm just too stupid for it.
I added
set lmargin at screen 0.0
set rmargin at screen 1.0
set bmargin at screen 0.0
set tmargin at screen 1.0
at the beginning of the script because I want to use the entire
canvas.
Then I changed the range of one of the plots (I changed the line "plot
[-50:50] [-50:50] for [stunde=von:bis] -x/tan(z(stunde)) with
lines linetype -1" to "plot [-50:50] [-50:0] for [stunde=von:bis] -x/
tan(z(stunde)) with
lines linetype -1") and the graph was moved so it fits better onto the
canvas.
As I understand *margin, it just sets the borders of the graphs; what
I want is to fix the origin of all graphs to the same point on the
canvas.