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


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

Scale the dimensions of a pm3d map plot

Newsgroups comp.graphics.apps.gnuplot
Date 2014-02-11 10:25 -0800
Message-ID <d3f7c4c1-ac3d-4327-b13c-962bbfcc15b5@googlegroups.com> (permalink)
Subject Scale the dimensions of a pm3d map plot
From Jonas Lehmann <jonas.lehmann.muc@gmail.com>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web