Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3354
| X-Received | by 10.157.30.195 with SMTP id n61mr859668otn.34.1467089017819; Mon, 27 Jun 2016 21:43:37 -0700 (PDT) |
|---|---|
| X-Received | by 10.36.55.9 with SMTP id r9mr6716itr.5.1467089017726; Mon, 27 Jun 2016 21:43:37 -0700 (PDT) |
| Path | csiph.com!goblin1!goblin.stu.neva.ru!g127no917831ith.0!news-out.google.com!o189ni6239ith.0!nntp.google.com!jk6no4737805igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Mon, 27 Jun 2016 21:43:37 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2602:30a:c0ae:a550:392d:d7e2:c9af:51be; posting-account=oKPMfAoAAABg1pfbemLR-nuhqcf3qVFK |
| NNTP-Posting-Host | 2602:30a:c0ae:a550:392d:d7e2:c9af:51be |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <baced62a-4792-4aa4-a004-25b172c98d41@googlegroups.com> (permalink) |
| Subject | Strange Mobius strip in rendering a cylinder with pm3d |
| From | musiphil@bawi.org |
| Injection-Date | Tue, 28 Jun 2016 04:43:37 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Xref | csiph.com comp.graphics.apps.gnuplot:3354 |
Show key headers only | View raw
Hello group, I have the following gnuplot script: set palette rgbformula 22,13,-31 # optional splot "data" using (3*cos($1)):(2*sin($1)):2:3 palette with pm3d notitle where "data" is generated by the following program (made up for illustrative purposes): #!/usr/bin/python import math T = 36 H = 36 for i in xrange(T + 1): t = (2.0 * i / T - 1) * math.pi for j in xrange(H): h = 1.0 * j / H print '%+.4f\t%.4f\t%.4f' % (t, h, h) print The graph I get, https://snag.gy/52RVPv.jpg, is twisted strangely like a Mobius strip. Is there anything I did wrong and could correct, or is it a bug in gnuplot? (Tested on: gnuplot 5.0 patchlevel 0 on Mac OS X.) Thank you.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar | Unroll thread
Strange Mobius strip in rendering a cylinder with pm3d musiphil@bawi.org - 2016-06-27 21:43 -0700
Re: Strange Mobius strip in rendering a cylinder with pm3d Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-06-28 16:20 +0700
Re: Strange Mobius strip in rendering a cylinder with pm3d musiphil@bawi.org - 2016-06-28 09:46 -0700
Re: Strange Mobius strip in rendering a cylinder with pm3d musiphil@bawi.org - 2016-06-28 10:27 -0700
Re: Strange Mobius strip in rendering a cylinder with pm3d Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-06-29 00:04 +0200
Re: Strange Mobius strip in rendering a cylinder with pm3d musiphil@bawi.org - 2016-07-03 18:47 -0700
csiph-web