Strange autoscaling with rgbimage and inverted yranges

Dima Kogan <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
Hi. I vaguely recall mentioning this already, but I don't see it in my
email. Apologies if this has already been reported. I have this script:

    set yrange [:] reverse
    set size ratio -1
    plot "/tmp/gray.jpg" binary filetype=auto flipy with rgbimage,'-'   using 1:2 notitle with points pt 3 ps 3 
    1854.0 1599.0
    1596.0 1568.0
    2170.0 1626.0
    3649.0 1762.0
    1937.0 1604.0
    1243.0 1544.0
    2412.0 1648.0
    886.0 1508.0
    141.0 1436.0
    3088.0 1709.0
    292.0 1455.0
    2311.0 1639.0
    647.0 1484.0
    2662.0 1672.0
    1105.0 1529.0
    803.0 1499.0
    4218.0 1811.0
    731.0 1498.0
    3743.0 1769.0
    1371.0 1555.0
    4100.0 1800.0
    1446.0 1544.0
    2092.0 1587.0
    2863.0 1669.0
    2930.0 1681.0
    3197.0 1702.0
    3341.0 1709.0
    3483.0 1733.0
    e

I.e. we plot some points on top of the attached image. The contents of
the image don't matter. Here we just have a gray field. I'm using the
latest master branch, but I belive 5.4 does this too.

1. Running that script in an interactive terminal (I tried x11 and qt),
   the plot pops up just fine: the autoscale considered the image AND the
   points

2. We interactively zoom on any area with the mouse. This works too

3. We press 'u' to zoom out. The expectation is that we get back to the
   full view after step 1. Instead we get to a new view, zoomed-in on
   the points only, NOT on the image.

Something about the reverse yrange is confusing I think. Have I reported
this already?

Thanks.

_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
gray.jpg (image/jpeg, 77.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.