|
From: sfeam <sf...@us...> - 2017-06-08 04:28:11
|
On Wednesday, 07 June 2017 10:59:39 PM Christoph Bersch wrote: > Hi, > > I'm testing a bit the new features in 5.2 RC1. I had some problems with > `set border polar` > > Consider the following script: > > reset > set polar > set grid polar lw 2 > unset xtics > unset ytics > set size square > unset key > # set rrange [0:6.5] > set border 0 polar > plot t lt 3 lw 2, -t lt 4 lw 2 > > * That one doesn't plot a polar border, only when an explicit rrange is > set (uncomment the set rrange line). The polar border is only drawn if there is an explicit rrange (not autoscaled). The lack of a border for auto-scaled plots now seems like a bug to me, although from the code it apparently was intentional. I honestly cannot remember what was the reason for that. > * The polar border overlaps with the outer grid circle Yes. That seemed like the only well-defined place to draw it, but I'm open to other suggestions. I suppose there could be an entirely separate command "set polar border at <r value>", but in general how would you know in advance what to set it to? > * Another observation is, that the polar grid is not clipped at the > original square border (like it is done in 5.0), but drawn until the > canvas border. That is definitely intentional. Clipping off the "corners" of a circle looks really strange. It would be nice if you could clip lines to RMAX instead, but the existing clipping code is not designed for this. It's on my long-term wishlist to find an efficient way to do radial clipping. Ethan > Thank you, > Christoph |