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


Groups > comp.graphics.apps.gnuplot > #2306 > unrolled thread

Scale the dimensions of a pm3d map plot

Started byJonas Lehmann <jonas.lehmann.muc@gmail.com>
First post2014-02-11 10:25 -0800
Last post2014-02-12 10:24 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Scale the dimensions of a pm3d map plot Jonas Lehmann <jonas.lehmann.muc@gmail.com> - 2014-02-11 10:25 -0800
    Re: Scale the dimensions of a pm3d map plot Florian Oppermann <florian@flopwelt.de> - 2014-02-12 14:28 +0000
      Re: Scale the dimensions of a pm3d map plot Jonas Lehmann <jonas.lehmann.muc@gmail.com> - 2014-02-12 10:24 -0800

#2306 — Scale the dimensions of a pm3d map plot

FromJonas Lehmann <jonas.lehmann.muc@gmail.com>
Date2014-02-11 10:25 -0800
SubjectScale the dimensions of a pm3d map plot
Message-ID<d3f7c4c1-ac3d-4327-b13c-962bbfcc15b5@googlegroups.com>
I have a tricky problem in using gnuplot. I want to create some 2d maps. I have 12 x 36 data-points, that i can map, but i need each pixel in the map to have the same size. So, the MAP should have the range of 12x36, but the whole grafic with bars, labels and so on can have a different size. Any idea how to fix this? Here is my code, attached is a pic of the result, which is good in the sense, that the map almost has the right shape, but the whole grafic is a mess...

set pm3d map interpolate 1,1

splot "data.txt" matrix using (1+$1):(1+$2):3 

unset key

set terminal png font arial 20 size 600, 1200

[toc] | [next] | [standalone]


#2307

FromFlorian Oppermann <florian@flopwelt.de>
Date2014-02-12 14:28 +0000
Message-ID<ldg0ep$4dg$1@speranza.aioe.org>
In reply to#2306
Jonas Lehmann wrote:

> I have a tricky problem in using gnuplot. I want to create some 2d maps.
> I have 12 x 36 data-points, that i can map, but i need each pixel in the
> map to have the same size. So, the MAP should have the range of 12x36,
> but the whole grafic with bars, labels and so on can have a different
> size. Any idea how to fix this? Here is my code, attached is a pic of
> the result, which is good in the sense, that the map almost has the
> right shape, but the whole grafic is a mess...

Sorry if this message appears multiple times. I'm new to newsgroups...
I can't see any attachment but maybe you're looking for

set size ratio -1

[toc] | [prev] | [next] | [standalone]


#2308

FromJonas Lehmann <jonas.lehmann.muc@gmail.com>
Date2014-02-12 10:24 -0800
Message-ID<1638349f-8f59-4111-9c81-bbee9967a871@googlegroups.com>
In reply to#2307
Am Mittwoch, 12. Februar 2014 15:28:41 UTC+1 schrieb Florian Oppermann:
> Jonas Lehmann wrote:
> 
> 
> 
> > I have a tricky problem in using gnuplot. I want to create some 2d maps.
> 
> > I have 12 x 36 data-points, that i can map, but i need each pixel in the
> 
> > map to have the same size. So, the MAP should have the range of 12x36,
> 
> > but the whole grafic with bars, labels and so on can have a different
> 
> > size. Any idea how to fix this? Here is my code, attached is a pic of
> 
> > the result, which is good in the sense, that the map almost has the
> 
> > right shape, but the whole grafic is a mess...
> 
> 
> 
> Sorry if this message appears multiple times. I'm new to newsgroups...
> 
> I can't see any attachment but maybe you're looking for
> 
> 
> 
> set size ratio -1

Perfect! That solves the problem!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web