X-Received: by 10.129.148.129 with SMTP id l123mr33506220ywg.35.1447712339447; Mon, 16 Nov 2015 14:18:59 -0800 (PST) X-Received: by 10.182.196.9 with SMTP id ii9mr346959obc.7.1447712339414; Mon, 16 Nov 2015 14:18:59 -0800 (PST) Path: csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!f78no273116qge.1!news-out.google.com!l1ni6591igd.0!nntp.google.com!i2no3977252igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 16 Nov 2015 14:18:59 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.146.147.142; posting-account=O7-AMwoAAACGfri6likJUTWrqO99ETYt NNTP-Posting-Host: 86.146.147.142 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <020edea8-68b6-4df8-b6ef-e1939c7b7844@googlegroups.com> Subject: Re: Plotting line graphs in 3D From: matejvecerik@gmail.com Injection-Date: Mon, 16 Nov 2015 22:18:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1769 X-Received-Body-CRC: 4169240194 Xref: csiph.com comp.graphics.apps.gnuplot:3133 This was really helpful but just in case I am posting a slightly corrected version with properly escaped new lines. set ticslevel 0 set style arrow 1 head filled size screen 0.01,15,45 linestyle 1 set style arrow 2 head filled size screen 0.01,15,45 linestyle 2 splot '+' u 1:(0):(sin(0.2*pi*$1)) ls 1 lw 3 with lines t '', \ '' u 1:(int($0)%3 == 0 ? 0 : 1/0):(0):(0):(0):(sin(0.2*pi*$1)) \ with vectors arrowstyle 1 t '',\ '' u 1:(sin(0.2*pi*$1)):(0) ls 2 lw 3 with lines t '', \ '' u 1:(int($0)%3 == 0 ? 0 : 1/0):(0):(0):(sin(0.2*pi*$1)):(0) \ with vectors arrowstyle 2 t ''