Menu

#1462 set object rectangle fails with splot and negative y-range

closed-fixed
nobody
None
5
2015-03-23
2014-08-13
Anonymous
No

I am using 4.6.2 on SLES 11.2.

I am facing a problem when drawing a rectangle using "set object rectangle at" in combination with splot (and set map pm3d).

set terminal pngcairo
set output "testb.png"
set xrange [0:10]
set yrange [-10:10]
set object 1 rectangle at 5,5 size 6,6 fc lt 1 front
set pm3d map
splot x*y

The problem is, that for some reason the size of the rectangle is incorrectly drawn, that is, it becomes too large. In the below figures I changed minimum y from 0.0 (when the graph is OK), to -10., and you can see that the rectangle is incorrectly drawn.

Further information:

  • I've encountered the same for the "wxt" and "epslatex" terminals
  • I do not have this problem with regular plot.
  • I can fill in negative sizes, and still get a rectangle

Would this be a bug in gnuplot? (I was not able to test with newer versions)

2 Attachments

Discussion

  • Bernhard

    Bernhard - 2014-08-13

    I now saw I was not logged in, but this is my ticket.

     

    Last edit: Bernhard 2014-08-13
  • Ethan Merritt

    Ethan Merritt - 2014-08-14
    • status: open --> pending-fixed
     
  • Ethan Merritt

    Ethan Merritt - 2014-08-15
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Monday.com Logo