Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #942 > unrolled thread
| Started by | Hermann Peifer <peifer@gmx.eu> |
|---|---|
| First post | 2012-02-15 07:11 +0100 |
| Last post | 2012-02-15 13:48 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | Hermann Peifer <peifer@gmx.eu> |
|---|---|
| Date | 2012-02-15 07:11 +0100 |
| Subject | Define a fixed plot size and position |
| Message-ID | <jhfiao$3cm$1@news.albasani.net> |
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 :-( 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. 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
[toc] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2012-02-14 23:11 -0800 |
| Message-ID | <jhflqt$ua5$1@dont-email.me> |
| In reply to | #942 |
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
[toc] | [prev] | [next] | [standalone]
| From | Hermann Peifer <peifer@gmx.eu> |
|---|---|
| Date | 2012-02-15 12:49 +0100 |
| Message-ID | <jhg63g$97l$1@news.albasani.net> |
| In reply to | #943 |
On 15/02/2012 08:11, sfeam wrote: > > 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. > Thanks. This looks promising. I will try. Is there also a convenient way to stretch the lower left corner of the plot to the lower left corner of the png file? So far, my idea was to use convert to do the clipping. I want to georeference my plots later and use them as overlays for map data. So I want to be sure that, say: 500 pixels in the png correspond to 5000 metres in the background map. Hermann
[toc] | [prev] | [next] | [standalone]
| From | Hermann Peifer <peifer@gmx.eu> |
|---|---|
| Date | 2012-02-15 13:48 +0100 |
| Message-ID | <jhg9j4$fp0$1@news.albasani.net> |
| In reply to | #944 |
On 15/02/2012 12:49, Hermann Peifer wrote: > On 15/02/2012 08:11, sfeam wrote: >> >> 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. >> > > Thanks. This looks promising. I will try. > > Is there also a convenient way to stretch the lower left corner of the > plot to the lower left corner of the png file? So far, my idea was to > use convert to do the clipping. > Silly me. Obviously, you gave the answer already. Hermann
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web