Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2896
| From | Ethan A Merritt <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: with image and corners2color |
| Date | 2015-05-07 15:28 -0700 |
| Organization | gnuplot development |
| 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> |
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 | Next — Previous in thread | Find similar | Unroll 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