Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3241
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Karl Ratzsch <mail.kfr@gmx.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: splot of vector doesn't appear correct. |
| Date | Sun, 21 Feb 2016 20:24:05 +0100 |
| Organization | solani.org |
| Lines | 40 |
| Message-ID | <nad2si$j0o$1@solani.org> (permalink) |
| References | <3d96a22e-351b-4354-ab01-b60554f55f5d@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1456082642 19480 eJwNyckRACEMA7CWctiGLSeESf8lLPqKKVcviAKHg2jcbvPJindQFTmOi/V6bz9WnXY4J+LTDxmuEOo= (21 Feb 2016 19:24:02 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Sun, 21 Feb 2016 19:24:02 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
| X-User-ID | eJwFwYEBwCAIA7CXwEHrzimC/59gkh8ch4FE5M3bP9vHabQ+0HSMFq2ilB6Bvbk0BZln29EDIbMRSQ== |
| In-Reply-To | <3d96a22e-351b-4354-ab01-b60554f55f5d@googlegroups.com> |
| Cancel-Lock | sha1:DzJewmA9uDHpBqeDRoD6NHwCz4c= |
| X-NNTP-Posting-Host | eJwNytsBADEEBMCWCOtRTnD6LyE33wMxtnY1mGKx1fm5hNCmTTszRqduYSLI6dRfK3MO6erh+wAd5RDT |
| Xref | csiph.com comp.graphics.apps.gnuplot:3241 |
Show key headers only | View raw
Am 20.02.2016 um 19:21 schrieb rlnaff@gmail.com:
> 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 ...
I think you've misunderstood the "using" syntax of "with vectors".
The second triplet of numbers are the vectors lengths, not the
absolute coordinates of it's endpoint. Right?
Funnily, after stripping you script of all unnecessary decoration,
it does show a small weirdness: Why do we get a colourbar next to
this plot? It goes away after removing the "arrowstyle"s. (gp5.01)
$vectors << EOD
0.00000 0.00000 0.00000 0.63960 0.63960
0.42640
EOD
$extensions << EOD
0.63960 0.63960 0.42640 0.70356 0.70356
0.46904
EOD
$labels << EOD
1.00356 1.00356 0.76904 x'
EOD
splot $vectors using 1:2:3:4:5:6 with vectors arrowstyle 2, \
$extensions using 1:2:3:4:5:6 with vectors arrowstyle 1, \
$labels using 1:2:3:4 with labels
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
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