Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4491
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2022-09-20 05:18 -0700 |
| References | <1193247108.148779.97930@i13g2000prf.googlegroups.com> <ffo016$7a2$1@brogar.bmsc.washington.edu> <1193252197.340351.153900@i38g2000prf.googlegroups.com> <ffo75j$ubs$03$1@news.t-online.com> <1193257990.150945.24180@v23g2000prn.googlegroups.com> |
| Message-ID | <e6aa66a3-d12e-437d-84ac-4cc7707a47a3n@googlegroups.com> (permalink) |
| Subject | Re: mapping z-values as point colors onto 2D plot |
| From | Alicreance Hiyadutuje <hiyadutujea@gmail.com> |
On Wednesday, October 24, 2007 at 10:33:10 PM UTC+2, Hallmarc wrote: > On Oct 24, 3:41 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de> > wrote: > > Hallmarc wrote: > > > Unfortunately, there's something I'm not understanding about pm3d: > > > > > gnuplot> splot "socks.dat" using 1:3:4 with pm3d > > > Warning: Single isoline (scan) is not enough for a pm3d plot. > > > Hint: Missing blank lines in the data file? See 'help pm3d' and > > > FAQ. > > > > > socks.dat is a file with several hundred thousand rows, four columns > > > (column 2 is not used), and no breaks between rows. > > > > ... which means it doesn't describe any surface, so pm3d can't plot it > > as a coloured surface. Looks like what you really want is a plot of > > coloured points, i.e.: > > > > set view map > > splot 'data' u 1:2:(0.0):3 with points palette > > > > Either that, or you should insert the missing breaks into the data file. > That did the trick, thanks! I guess the third coordinate of 0.0 just > basically push everything up against a 2D plane...excellent. In my case, I was missing only "with points palette".
Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar
Re: mapping z-values as point colors onto 2D plot Alicreance Hiyadutuje <hiyadutujea@gmail.com> - 2022-09-20 05:18 -0700
csiph-web