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


Groups > comp.graphics.apps.gnuplot > #3848 > unrolled thread

3d plot with arrowstyle variable

Started byrmisko11@gmail.com
First post2018-01-08 09:41 -0800
Last post2018-01-09 04:11 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  3d plot with arrowstyle  variable rmisko11@gmail.com - 2018-01-08 09:41 -0800
    Re: 3d plot with arrowstyle variable Karl Ratzsch <mail.kfr@gmx.net> - 2018-01-09 10:48 +0100
    Re: 3d plot with arrowstyle  variable rmisko11@gmail.com - 2018-01-09 04:11 -0800

#3848 — 3d plot with arrowstyle variable

Fromrmisko11@gmail.com
Date2018-01-08 09:41 -0800
Subject3d plot with arrowstyle variable
Message-ID<bf7d79dc-ad8d-47a9-9fc9-a4f6dc75642b@googlegroups.com>
I can get arrowstyle variable to work with 2D plots in gnuplot 5.0 patchlevel 3

but when I try it with 3d I get:

"warning: arrowstyle 0 not found"

My data file contents are:

0 0 0 40 40 40 1 1 
40 40 40 100 0 0 4 4
140 40 40 0 100 0 4 4
140 140 40 -90 0 0 4 4
50 140 40 0 -90 0 4 4
50 50 40 80 0 0 4 4
130 50 40 -130 -50 -40 1 1

and my gnuplot file contains:

set style arrow 1 head filled size screen 0.03,15,45 lw 2 lc rgb "cyan"
set style arrow 4 head filled size screen 0.03,15,45 lw 2 lc rgb "blue"

splot 'myData.dat' u 1:2:3:4:5:6:7 with vectors arrowstyle variable t ''

I will appreciate any guidance on getting arrowstyle variable to work for 3D (splot).

[toc] | [next] | [standalone]


#3849 — Re: 3d plot with arrowstyle variable

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2018-01-09 10:48 +0100
SubjectRe: 3d plot with arrowstyle variable
Message-ID<p3234m$ngo$1@solani.org>
In reply to#3848
Am 08.01.2018 um 18:41 schrieb rmisko11@gmail.com:
> I can get arrowstyle variable to work with 2D plots in gnuplot 5.0 patchlevel 3
> 
> but when I try it with 3d I get:
> 
> "warning: arrowstyle 0 not found"
> 
> splot 'myData.dat' u 1:2:3:4:5:6:7 with vectors arrowstyle variable t ''
> 

Hm, sure this is exactly the command you tried?
The following works for me in version 5.2pl2 and 5.0pl1:

=========
$dat << EOD
1 1 1 3 3 3 1
0 0 0 1 1 1 2
EOD
set style arrow 1 heads lw 2
set style arrow 2 heads lw 4
splot $dat us 1:2:3:4:5:6:7 with vect arrowstyle var
=========

[toc] | [prev] | [next] | [standalone]


#3850

Fromrmisko11@gmail.com
Date2018-01-09 04:11 -0800
Message-ID<ace468de-954f-48e1-8279-8eed1cecc355@googlegroups.com>
In reply to#3848
Thanks Karl, I updated to 5.2pl2 and it works as you claimed.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web