Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3133

Re: Plotting line graphs in 3D

Newsgroups comp.graphics.apps.gnuplot
Date 2015-11-16 14:18 -0800
References <e52df71e-1581-43fa-a49f-dea420e447e1@v31g2000vbs.googlegroups.com>
Message-ID <020edea8-68b6-4df8-b6ef-e1939c7b7844@googlegroups.com> (permalink)
Subject Re: Plotting line graphs in 3D
From matejvecerik@gmail.com

Show all headers | View raw


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 ''

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

Re: Plotting line graphs in 3D matejvecerik@gmail.com - 2015-11-16 14:18 -0800

csiph-web