Path: csiph.com!usenet.pasdenom.info!gegeweb.org!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 08:17:02 -0700 Organization: gnuplot development team Lines: 47 Message-ID: References: <407201de-6965-4986-a2c9-dc140b8df7a7@k24g2000yqe.googlegroups.com> <1f3cabb9-f603-4570-876b-81df463b9fc3@z31g2000vbt.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 15:17:03 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="6789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//zDMjBDYijhtzPJ5geBDU" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:TgqlnaYdnjbWhpgCnxxzzhwN9D0= Xref: csiph.com comp.graphics.apps.gnuplot:1010 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.