Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2776
| From | Jörg Buchholz <bookwood4news@freenet.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: graphics not available |
| Date | 2015-02-21 20:43 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <mcan4m$9ju$1@dont-email.me> (permalink) |
| References | <56642e95-3833-469b-bb98-1a1d1ffeee7d@googlegroups.com> <mc9qdp$i6n$1@dont-email.me> <eb873116-6b76-4378-8b7c-f51b046bcea5@googlegroups.com> |
On 21.02.2015 13:26, red oxer wrote: > Pada Sabtu, 21 Februari 2015 19.33.54 UTC+8, Michael Okuntsov menulis: >> 21.02.2015 14:51, red oxer пишет: >>> dear all, i have a problem when i try to create graphics 3d surface with pm3d. >>> >>> i use this step to create 3d graphic surface : >>> >>> gnuplot> set xrange [0:4.5] >>> gnuplot> set yrange [0:4.5] >>> gnuplot> set zrange [-1000:0] >>> gnuplot> splot "gambarku.dat" 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. >>> >>> >>> >>> what must i do ? >>> >>> thanks in advance. >>> >>> file "gambarku.dat" : >>> 0.4151 0.4151 - 231.6367 >>> 0.5535 0.4151 - 275.8418 >>> 0.8308 0.4151 - 271.4489 >>> 1.6606 0.4151 - 277.6478 >>> 2.4908 0.4151 - 277.5219 >>> 3.3211 0.4151 - 277.4102 >>> 4.1514 0.4151 - 277.4512 >>> 0.4151 0.5535 - 254.4115 >>> 0.5535 0.5535 - 295.4047 >>> 0.8308 0.5535 - 309.1604 >>> 1.6606 0.5535 - 313.1244 >>> 2.4908 0.5535 - 312.9638 >>> 3.3211 0.5535 - 312.8672 >>> 4.1514 0.5535 - 312.8289 >>> 0.4151 0.8308 - 271.4489 >>> 0.5535 0.8308 - 309.1604 >>> 0.8308 0.8308 - 339.8019 >>> 1.6606 0.8308 - 341.9205 >>> 2.4908 0.8308 - 341.8898 >>> 3.3211 0.8308 - 341.8381 >>> 4.1514 0.8308 - 347.5722 >>> 0.4151 1.6606 - 277.6478 >>> 0.5535 1.6606 - 313.1244 >>> 0.8308 1.6606 - 353.8763 >>> 1.6606 1.6606 - 355.2355 >>> 2.4908 1.6606 - 355.1430 >>> 3.3211 1.6606 - 355.1556 >>> 4.1514 1.6606 - 355.1667 >>> 0.4151 2.4908 - 277.5219 >>> 0.5535 2.4908 - 312.9638 >>> 0.8308 2.4908 - 354.0821 >>> 1.6606 2.4908 - 355.3017 >>> 2.4908 2.4908 - 355.0756 >>> 3.3211 2.4908 - 929.8341 >>> 4.1514 2.4908 - 351.9540 >>> 0.4151 3.3211 - 277.4102 >>> 0.5535 3.3211 - 312.8672 >>> 0.8308 3.3211 - 354.1108 >>> 1.6606 3.3211 - 355.2876 >>> 2.4908 3.3211 - 83.5848 >>> 3.3211 3.3211 - 355.1942 >>> 4.1514 3.3211 - 354.9733 >>> 0.4151 4.1514 - 277.3662 >>> 0.5535 4.1514 - 312.8289 >>> 0.8308 4.1514 - 354.1143 >>> 1.6606 4.1514 - 355.2847 >>> 2.4908 4.1514 - 354.9899 >>> 3.3211 4.1514 - 354.9471 >>> 4.1514 4.1514 - 354.9554 >>> >> >> Your file has spaces after "-", so the third column can't be recognized. >> Also your file must have a blank line after every block of values, like >> this: >> >> 0.4151 0.4151 -231.6367 >> 0.5535 0.4151 -275.8418 >> 0.8308 0.4151 -271.4489 >> 1.6606 0.4151 -277.6478 >> 2.4908 0.4151 -277.5219 >> 3.3211 0.4151 -277.4102 >> 4.1514 0.4151 -277.4512 >> >> 0.4151 0.5535 -254.4115 >> 0.5535 0.5535 -295.4047 >> 0.8308 0.5535 -309.1604 >> 1.6606 0.5535 -313.1244 >> 2.4908 0.5535 -312.9638 >> 3.3211 0.5535 -312.8672 >> 4.1514 0.5535 -312.8289 >> >> 0.4151 0.8308 -271.4489 >> 0.5535 0.8308 -309.1604 >> 0.8308 0.8308 -339.8019 >> 1.6606 0.8308 -341.9205 >> 2.4908 0.8308 -341.8898 >> 3.3211 0.8308 -341.8381 >> 4.1514 0.8308 -347.5722 >> >> 0.4151 1.6606 -277.6478 >> 0.5535 1.6606 -313.1244 >> 0.8308 1.6606 -353.8763 >> 1.6606 1.6606 -355.2355 >> 2.4908 1.6606 -355.1430 >> 3.3211 1.6606 -355.1556 >> 4.1514 1.6606 -355.1667 >> >> 0.4151 2.4908 -277.5219 >> 0.5535 2.4908 -312.9638 >> 0.8308 2.4908 -354.0821 >> 1.6606 2.4908 -355.3017 >> 2.4908 2.4908 -355.0756 >> 3.3211 2.4908 -929.8341 >> 4.1514 2.4908 -351.9540 >> >> 0.4151 3.3211 -277.4102 >> 0.5535 3.3211 -312.8672 >> 0.8308 3.3211 -354.1108 >> 1.6606 3.3211 -355.2876 >> 2.4908 3.3211 -83.5848 >> 3.3211 3.3211 -355.1942 >> 4.1514 3.3211 -354.9733 >> >> 0.4151 4.1514 -277.3662 >> 0.5535 4.1514 -312.8289 >> 0.8308 4.1514 -354.1143 >> 1.6606 4.1514 -355.2847 >> 2.4908 4.1514 -354.9899 >> 3.3211 4.1514 -354.9471 >> 4.1514 4.1514 -354.9554 > > thanks sir. very helpfull. > honestly, i want make graphics 3d surface like at this link http://gnuplot.sourceforge.net/demo_4.6/pm3d.html > pm3d with coloring. but i'm not sure with i'm to do. > so, what the command line that must i write in the terminal gnuplot ? > If I put your data into the file "data.dat" for me it works the following: set title 'pm3d at s (surface) / ticslevel 0' set xlabel 'x' set ylabel 'y' set zlabel 'z' set xrange [0:4.5] set yrange [0:4.5] set zrange [-1000:0] set cblabel 'colour gradient' set pm3d implicit at s splot 'data.dat' Have a look to the minimal script at <http://gnuplot.sourceforge.net/demo_4.6/pm3d.2.gnu> Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
graphics not available red oxer <redoxer2@gmail.com> - 2015-02-21 00:51 -0800
Re: graphics not available Michael Okuntsov <proximum@land.ru> - 2015-02-21 17:33 +0600
Re: graphics not available red oxer <redoxer2@gmail.com> - 2015-02-21 04:26 -0800
Re: graphics not available Jörg Buchholz <bookwood4news@freenet.de> - 2015-02-21 20:43 +0100
Re: graphics not available red oxer <redoxer2@gmail.com> - 2015-02-22 01:51 -0800
Re: graphics not available Michael Okuntsov <proximum@land.ru> - 2015-02-22 17:25 +0600
Re: graphics not available Michael Okuntsov <proximum@land.ru> - 2015-02-22 17:25 +0600
Re: graphics not available Gavin Buxton <gavinbuxton@gmail.com> - 2015-02-22 06:14 -0800
csiph-web