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


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

splot of vector doesn't appear correct.

X-Received by 10.182.247.97 with SMTP id yd1mr19312931obc.9.1455992484835; Sat, 20 Feb 2016 10:21:24 -0800 (PST)
X-Received by 10.182.153.36 with SMTP id vd4mr256161obb.10.1455992484773; Sat, 20 Feb 2016 10:21:24 -0800 (PST)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!ok5no3990468igc.0!news-out.google.com!kr2ni1992igb.0!nntp.google.com!ok5no3990462igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Sat, 20 Feb 2016 10:21:24 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=184.96.158.81; posting-account=sxVv7QoAAADlKkmsD9KXGQj27QsLXAFp
NNTP-Posting-Host 184.96.158.81
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <3d96a22e-351b-4354-ab01-b60554f55f5d@googlegroups.com> (permalink)
Subject splot of vector doesn't appear correct.
From rlnaff@gmail.com
Injection-Date Sat, 20 Feb 2016 18:21:24 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 3669
X-Received-Body-CRC 3661711935
Xref csiph.com comp.graphics.apps.gnuplot:3239

Show key headers only | View raw


Hello: I am attempting to plot a vector in two segment.  The first segment is from (0.00000 0.00000 0.00000) to (0.63960 0.63960 0.42640).  The second segment is from (0.63960 0.63960 0.42640) to (0.70356 0.70356 0.46904).  A label, x', is to be placed beyond the second segment at (1.00356 1.00356 0.76904).  When I plot these segments with a view of 35, 225 degrees (set view 35,225,0.80000,1.80000), the label x' appears to be sitting on the second segment at about 1/3 the distance from the end. The label appears to be situated correctly; the second segment appears to be too long (but appears to start at the end of the first segment; the first segment, from other evidence, appears to end at the proper position).  The program and data sets follow; any help would be appreciate.  Thanks, Rich 

 set datafile fortran
 set view 35,225,0.80000,1.80000
 set view equal xyz
set linetype  1 lc rgb "dark-violet" lw 1
set linetype  2 lc rgb "#009e73" lw 1
set linetype  3 lc rgb "#56b4e9" lw 1
set linetype  4 lc rgb "#e69f00" lw 1
set linetype  5 lc rgb "#f0e442" lw 1
set linetype  6 lc rgb "#0072b2" lw 1
set linetype  7 lc rgb "#e51e10" lw 1
set linetype  8 lc rgb "black"   lw 1
set linetype  9 lc rgb "gray50"  lw 1
set linetype cycle  9
 set xyplane at 0.0
 set nokey
 set tics scale 1.5 font "Helvetica,20"
 set style line 1 lt 9 dt (16,4)
 set style line 2 lt 9 dt (16,4,4,4)
 set style line 3 lt 9 dt (16,4,4,4,4,4)
 set style arrow 1 lt 8 dt solid lw 2 nohead
 set style arrow 2 lt 1 dt solid lw 2 nohead
 set xlabel "X, meters" font "Helvetica,20" rotate parallel offset -1,-1.5
 set ylabel "Y, meters" font "Helvetica,20" rotate parallel rotate parallel offs
et -2,-2
 set zlabel "Z, meters" font "Helvetica,20" rotate parallel offset 1.0
 set xtics offset -1,-0.5
 set ytics offset 0.5,-0.5
 set ztics offset 1
 set xrange [-2.64357:2.64357]
 set yrange [-2.69609:2.69609]
 set zrange [-2.97401:2.97401]
 set terminal postscript font "Helvetica" lw 2 color colortext
 set output "ellipsoid_plot.ps"
 splot "vectors.dat" using 1:2:3:4:5:6 with vectors arrowstyle 2, "extensions.da
t" using 1:2:3:4:5:6 with vectors arrowstyle 1, "labels.dat" using 1:2:3:4 with 
labels font "Helvetica,16,bold"



vectors.dat:
      0.00000      0.00000      0.00000      0.63960      0.63960      0.42640

extensions.dat:
      0.63960      0.63960      0.42640      0.70356      0.70356      0.46904

labels.dat:
      1.00356      1.00356      0.76904 x'


PS: If there were a means of doing so, I would attach a postscript file of the result.

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

splot of vector doesn't appear correct. rlnaff@gmail.com - 2016-02-20 10:21 -0800
  Re: splot of vector doesn't appear correct. Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-21 20:24 +0100

csiph-web