Discussion:
Circles with center outside plot range are not drawn
(too old to reply)
Anthony
2020-02-19 07:13:59 UTC
Permalink
I am ploting positions of object relative to a set of circles of specific
radius.

However the center of these circles fall outside the range of the points
being plotted and if that happens the circles do not get drawn.


Example

set xrange [7300:17300]
set yrange [2050:-8050]

set object 19 circle at 197,-200 size 13696 lw 1 fc rgb "blue"
set object 20 circle at 197,-200 size 14976 lw 1 fc rgb "blue"

plot "-" using 1:3 with points pt 7
12821 37 -7297
e


yes the second column is not used.


This does not show the blue cirlces


But if I expand range to include the center of the center

set xrange [0:17300]
replot


Then the circle does get plotted.

How can I get the circle to plot, when the center of the circle is OUTSIDE
the plot range!
Karl Ratzsch
2020-02-19 09:31:12 UTC
Permalink
Post by Anthony
I am ploting positions of object relative to a set of circles of specific
radius.
However the center of these circles fall outside the range of the points
being plotted and if that happens the circles do not get drawn.
Does "set clip" make no difference here? (apparently not, also as
documented "set clip affects only points and lines produced by plot
styles lines, linespoints, points, and vectors."

I guess you have no chance here, except plotting on a larger sheet,
clipping off the edges by hand ( set four white rectangles ) and
then overprinting your axes via multiplot.

You might put up a feature request here:
https://sourceforge.net/p/gnuplot/feature-requests/
Anthony
2020-02-20 00:35:43 UTC
Permalink
Done... ticket
https://sourceforge.net/p/gnuplot/feature-requests/499/

Loading...