Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2145 > unrolled thread
| Started by | biostudies5@googlemail.com |
|---|---|
| First post | 2013-10-14 13:01 -0700 |
| Last post | 2013-10-15 14:09 -0700 |
| Articles | 6 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Splot 3d data with interpolated pm3d colors at b biostudies5@googlemail.com - 2013-10-14 13:01 -0700
Re: Splot 3d data with interpolated pm3d colors at b Ethan A Merritt <sfeam@users.sourceforge.net> - 2013-10-14 15:57 -0700
Re: Splot 3d data with interpolated pm3d colors at b biostudies5@googlemail.com - 2013-10-14 22:32 -0700
Re: Splot 3d data with interpolated pm3d colors at b Ethan A Merritt <sfeam@users.sourceforge.net> - 2013-10-15 10:08 -0700
Re: Splot 3d data with interpolated pm3d colors at b biostudies5@googlemail.com - 2013-10-15 13:29 -0700
Re: Splot 3d data with interpolated pm3d colors at b biostudies5@googlemail.com - 2013-10-15 14:09 -0700
| From | biostudies5@googlemail.com |
|---|---|
| Date | 2013-10-14 13:01 -0700 |
| Subject | Splot 3d data with interpolated pm3d colors at b |
| Message-ID | <c6b28b43-e88d-4d59-a90a-fe7e0a52202a@googlegroups.com> |
Hi, I'd like to plot a simple 3d mesh (uncoloured surface plot) with interpolated pm3d colors at bottom representing the same data. Thus, I typed in: set dgrid3d set pm3d at b interpolate, 30,30 splot 'file.txt' w l But all what I get is a coloured surface plot. What's wrong, where's the mistake and how can I fix it. Thanks for help! B
[toc] | [next] | [standalone]
| From | Ethan A Merritt <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2013-10-14 15:57 -0700 |
| Message-ID | <l3hssk$f5l$1@dont-email.me> |
| In reply to | #2145 |
biostudies5@googlemail.com wrote: > Hi, > > I'd like to plot a simple 3d mesh (uncoloured surface plot) with > interpolated pm3d colors at bottom representing the same data. Thus, I > typed in: > > set dgrid3d > set pm3d at b interpolate, 30,30 > splot 'file.txt' w l > > But all what I get is a coloured surface plot. What's wrong, where's the > mistake and how can I fix it. I can pretty much guarantee that you don't want "interpolate 30,30". That instructs the program to break each rectangle of the mesh into 900 subrectangles, eating up lots of CPU time but accomplishing very little. But yes, it does seem that giving any interpolation values other than 1 has the unintended side effect of cancelling the "at bottom". Ethan > Thanks for help! > B
[toc] | [prev] | [next] | [standalone]
| From | biostudies5@googlemail.com |
|---|---|
| Date | 2013-10-14 22:32 -0700 |
| Message-ID | <d56643cc-a910-4570-92a6-8377b708318f@googlegroups.com> |
| In reply to | #2146 |
Am Dienstag, 15. Oktober 2013 00:57:22 UTC+2 schrieb Ethan A Merritt: > I can pretty much guarantee that you don't want "interpolate 30,30". Ok, maybe 30,30 is a bit too much. > But yes, it does seem that giving any interpolation values other than 1 > > has the unintended side effect of cancelling the "at bottom". But I assume that there should be any solution to this problem?
[toc] | [prev] | [next] | [standalone]
| From | Ethan A Merritt <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2013-10-15 10:08 -0700 |
| Message-ID | <l3jsq0$2fg$1@dont-email.me> |
| In reply to | #2147 |
biostudies5@googlemail.com wrote: > Am Dienstag, 15. Oktober 2013 00:57:22 UTC+2 schrieb Ethan A Merritt: >> I can pretty much guarantee that you don't want "interpolate 30,30". > > Ok, maybe 30,30 is a bit too much. > >> But yes, it does seem that giving any interpolation values other than 1 >> >> has the unintended side effect of cancelling the "at bottom". > > But I assume that there should be any solution to this problem? Issue your default splot command and make a note of the Z coordinate of the xy-plane at the bottom. Let's say it's ZBOT. Now replot as below forcing the pm3d-colored surface to lie in this plane. ZBOT = <whatever it was before, or your choice of something else> set pm3d interpolate 3,3 noimplicit set xyplane at ZBOT splot 'data' using 1:2:(ZBOT):3 with pm3d, '' using 1:2:3 with lines Ethan
[toc] | [prev] | [next] | [standalone]
| From | biostudies5@googlemail.com |
|---|---|
| Date | 2013-10-15 13:29 -0700 |
| Message-ID | <c5974fc4-9842-434f-b82b-4bfc8af33631@googlegroups.com> |
| In reply to | #2148 |
Am Dienstag, 15. Oktober 2013 19:08:14 UTC+2 schrieb Ethan A Merritt: > Issue your default splot command and make a note of the Z coordinate > > of the xy-plane at the bottom. Let's say it's ZBOT. Sry, don't really understand. If you mean with ZBOT the values of my Z coordinate, then it doesn't work (Gridding of the color column is not implemented).
[toc] | [prev] | [next] | [standalone]
| From | biostudies5@googlemail.com |
|---|---|
| Date | 2013-10-15 14:09 -0700 |
| Message-ID | <620e342c-4f66-407a-8024-e2fde9ce9fcd@googlegroups.com> |
| In reply to | #2149 |
Am Dienstag, 15. Oktober 2013 22:29:20 UTC+2 schrieb biost...@googlemail.com: > Am Dienstag, 15. Oktober 2013 19:08:14 UTC+2 schrieb Ethan A Merritt: Damn! Now it works. Thx
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web