Donald J Bindner wrote:
> On Sat, Mar 25, 2006 at 06:44:32PM +0100, Hans-Bernhard Br?ker wrote:
>> Donald J Bindner wrote:
>>> vec.dat:
>>> 0 0 1 1
>>> I tried to plot it with:
>>> plot "vec.dat" w vec
>>> It works in my older version, but in the CVS pull, there is no
>>> arrow head.
>> Yep, that's a bug alright. I'll investigate.
I did some investigating in the meantime. Turns out this is an utter
mess, created by about 4 separate attempts at getting option parsing for
'with vectors' to work piled on top of each other.
The core problem is that the '{s}plot' parser now only initializes the
relevant data structure for the arrows in a part of the 'while still
some command-line text left to parse' that is never reached in the
above case. For gnuplot-beta readers: default_arrow_style() is never
called if "with vectors" is the last thing on the plot commands line,
and "arrow_parse()" doesn't initialize anything either.
|