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


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

Re: with image and corners2color

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Ethan A Merritt <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: with image and corners2color
Date Thu, 07 May 2015 15:28:47 -0700
Organization gnuplot development
Lines 27
Message-ID <migosv$m47$1@dont-email.me> (permalink)
References <cea3c52e-78ed-448c-915b-f9bf269fcb88@googlegroups.com> <midmdu$kln$1@dont-email.me> <5a4aaebd-85ab-4dce-bcff-0beee9b03379@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Thu, 7 May 2015 22:27:43 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="8e86a57dfa599721f116da4577f3d1af"; logging-data="22663"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/emyfSfIZY7tmkIX09rSoA"
User-Agent KNode/4.10.5
Cancel-Lock sha1:QvPGq7qsApXehhi5kYBnP1xKXoA=
Xref csiph.com comp.graphics.apps.gnuplot:2896

Show key headers only | View raw


Vasilis wrote:

> Thank you Ethan,
> 
> the file I am using is not an image is a file containing
> x y z1
> x+dx y z2
> ...
> 
> x y+dy z11
> x+dx y+dy z12
> ...
> 
> coordinates as a 3D histogram
> that I was plotting with splot as pm3d map
> Using the plot "with image" it works exactly as before
> however the z-color mapped value now is not starting from
> the x,y (lower-left) coordinate but from x-dx/2,y-dy/2
> so it is centred around x,y

Yes, that is how the image styles are defined.

If you are asking how to reposition the origin of the pixels,
how about

   plot 'file' using ($1 + dx/2) : ($2 + dy/2) : 3 with image

	Ethan

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


Thread

with image and corners2color Vasilis <vvlachoudis@gmail.com> - 2015-05-06 06:12 -0700
  Re: with image and corners2color Ethan A Merritt <sfeam@users.sourceforge.net> - 2015-05-06 11:28 -0700
    Re: with image and corners2color Vasilis <vvlachoudis@gmail.com> - 2015-05-06 23:44 -0700
      Re: with image and corners2color Ethan A Merritt <sfeam@users.sourceforge.net> - 2015-05-07 15:28 -0700

csiph-web