Menu

#499 Object Circles do not display if center is outside plot range

None
closed-out-of-date
nobody
None
5
2020-02-21
2020-02-20
Anthony
No

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 "-" with points pt 7
12821 -7297
e

Neither of the two circles are plotted, making the plot useless. However if the range is extended to include the centers (making the area of interest small), then the circles do get plotted.

set xrange [0:17300]
replot

This is very different to plotting points 'with circles' which has a simular problem.

Related

Feature Requests: #499

Discussion

  • Ethan Merritt

    Ethan Merritt - 2020-02-20

    Your example works properly in current gnuplot (5.2.8). Output attached. I believe the fix first appeared in 5.2.3 (May 2018).

     
  • Anthony

    Anthony - 2020-02-20

    Hmmm... Okay... Fedora 31 RPM only has gnuplot v5.0.6 with a buld date of 25 Jul 2019
    Looks like I need to find a later RPM!
    Hmmm ok they have a later build -- for FC32 Arrgghhhh....

    However your image seems to show a different problem.
    That the object circles, while specified in plot coordinates are not following the plot's aspect ratio!

    Example... your plot puts the 'dot' inside BOTH circles.

    My example in gnuplot 5.0.6 puts the dot outside BOTH circles.

    Afetr adjusting the ranges and squaring to ensure the aspect ratio is 1:1 then the 'dot' ends up between both circles whcih IS where it should be...

    The second image did this, showing all the data and all the circles, rather than the cut down example I gave, and the 'dot' from the original example is labeled 'Ants', and as can be seen it falls correct between the two blue circles.

    So the 'circles' do not appear to be correct unless the aspect ratio is controled to be 1:1

     

    Last edit: Anthony 2020-02-20
  • Ethan Merritt

    Ethan Merritt - 2020-02-21
    • status: open --> closed-out-of-date
    • Group: -->
     
    • Anthony

      Anthony - 2020-02-21

      I was able to install the latest gnuplot from the fedora rawhide (FC32) on
      my FC31 machine without a problem...
      Works well, as long as range aspect ratio is 1:1 for the circles.

      On Fri, Feb 21, 2020 at 10:58 AM Ethan Merritt sfeam@users.sourceforge.net
      wrote:

      • status: open --> closed-out-of-date
      • Group: -->

      Status: closed-out-of-date
      Group:
      Created: Thu Feb 20, 2020 12:32 AM UTC by Anthony
      Last Updated: Thu Feb 20, 2020 11:11 AM UTC
      Owner: nobody

      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 "-" with points pt 712821 -7297e

      Neither of the two circles are plotted, making the plot useless. However
      if the range is extended to include the centers (making the area of
      interest small), then the circles do get plotted.

      set xrange [0:17300]replot

      This is very different to plotting points 'with circles' which has a
      simular problem.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnuplot/feature-requests/499/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #499

  • Anthony

    Anthony - 2020-02-21

    I was able to install the latest gnuplot from the fedora rawhide (FC32) on my FC31 machine without a problem...
    Works well, as long as range aspect ratio is 1:1 for the circles.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.