Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Aligning Graphs, accurancy problems Followup-To: comp.graphics.apps.gnuplot Date: Tue, 03 Apr 2012 10:39:25 -0700 Organization: gnuplot development team Lines: 68 Message-ID: References: <407201de-6965-4986-a2c9-dc140b8df7a7@k24g2000yqe.googlegroups.com> <1f3cabb9-f603-4570-876b-81df463b9fc3@z31g2000vbt.googlegroups.com> <6e5b1744-d52a-4940-a09f-7ed467d1feb5@b2g2000yqb.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Tue, 3 Apr 2012 17:39:27 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="1228"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/im35kXfZZdi2YeDN/hAXa" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:a6t7VfWv97jTyKHXgtkiqD3sNJI= Xref: csiph.com comp.graphics.apps.gnuplot:1015 T4b wrote: > On 3 Apr., 17:17, sfeam wrote: >> T4b wrote: >> > On 2 Apr., 23:46, sfeam 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 >> >> set rmaring at screen >> >> 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. > > With origin I mean the point [0,0], yes. The scale of all graphs is > supposed to be the same. [0,0] should be in the middle of the top > border of the canvas. Sorry, I can't think of a way to do that automatically. > http://ubuntuone.com/0edmLjKcBKBOsOnyWMXpSa > On this picture I added a red dot where the origin is at the moment to > make this completely clear and I added a box around the area which I > would like to display. > > And I remembdered something else which I wanted to ask: how do I get > rid of the text? Either turn off the plot legend ("key") altogether using the command unset key or append "notitle" to the individual plot commands.