Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1010

Re: Aligning Graphs, accurancy problems

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Aligning Graphs, accurancy problems
Followup-To comp.graphics.apps.gnuplot
Date 2012-04-03 08:17 -0700
Organization gnuplot development team
Message-ID <jlf49e$6k5$1@dont-email.me> (permalink)
References <407201de-6965-4986-a2c9-dc140b8df7a7@k24g2000yqe.googlegroups.com> <jld6nn$gtd$1@dont-email.me> <1f3cabb9-f603-4570-876b-81df463b9fc3@z31g2000vbt.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


T4b wrote:

> 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.

Then I must not understand the question.
What do you mean by "origin" if not the lower left-hand border of the graph?

Are you saying that you want the point [0,0] to appear in the same place
even though the graphs have different range and scale, and that place is not
on the border of the graph? I can't think of a way to do that.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-03-30 12:47 -0700
  Re: Aligning Graphs, accurancy problems sfeam <sfeam@users.sourceforge.net> - 2012-04-02 14:46 -0700
    Re: Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-04-03 01:34 -0700
      Re: Aligning Graphs, accurancy problems sfeam <sfeam@users.sourceforge.net> - 2012-04-03 08:17 -0700
        Re: Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-04-03 09:59 -0700
          Re: Aligning Graphs, accurancy problems sfeam <sfeam@users.sourceforge.net> - 2012-04-03 10:39 -0700
            Re: Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-04-03 12:17 -0700
              Re: Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-05-12 09:48 -0700
                Re: Aligning Graphs, accurancy problems Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-05-15 18:45 +0200
                Re: Aligning Graphs, accurancy problems T4b <00t4b00@gmail.com> - 2012-06-11 07:17 -0700

csiph-web