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


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

Re: Define a fixed plot size and position

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Define a fixed plot size and position
Followup-To comp.graphics.apps.gnuplot
Date Tue, 14 Feb 2012 23:11:25 -0800
Organization gnuplot development team
Lines 38
Message-ID <jhflqt$ua5$1@dont-email.me> (permalink)
References <jhfiao$3cm$1@news.albasani.net>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Wed, 15 Feb 2012 07:11:26 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="31045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZarikhepgOBfns9CDGll/"
User-Agent KNode/4.4.9
Cancel-Lock sha1:9B08PYuLQNa9aoN7IO/nm7JDJ30=
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:943

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Hermann Peifer wrote:

> Hi All,
> 
> I would like to define a 500x500 plot size, and its upper right corner
> should be positioned exactly in the upper right corner of a 600x600
> png file. set size <XX>, <YY> gives me some control, but it fills the
> lower left quarter of this canvas :-(

maybe you want

set size 500./600., 500./600.
set origin 100./600., 100./600.

That defines the drawing area, but doesn't say exactly where in the
drawing area the plot boundaries lie.
 
> One of the issues I want to solve is that the y-axis keeps moving to
> the right, depending on the length of the ytic labels.

Or maybe you don't want size and origin at all, but instead 

   set term png size 600,600
   set tmargin at screen 600./600.
   set rmargin at screen 600./600.
   set bmargin at screen 100./600.
   set lmargin at screen 100./600.


> 
> Any help is appreciated.
> 
> Hermann
> 
> G N U P L O T
> Version 4.5 patchlevel 0
> last modified 2011-08-15
> System: Linux 2.6.32-5-amd64

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


Thread

Define a fixed plot size and position Hermann Peifer <peifer@gmx.eu> - 2012-02-15 07:11 +0100
  Re: Define a fixed plot size and position sfeam <sfeam@users.sourceforge.net> - 2012-02-14 23:11 -0800
    Re: Define a fixed plot size and position Hermann Peifer <peifer@gmx.eu> - 2012-02-15 12:49 +0100
      Re: Define a fixed plot size and position Hermann Peifer <peifer@gmx.eu> - 2012-02-15 13:48 +0100

csiph-web