Re: Strange autoscaling with rgbimage and inverted yranges
Dima Kogan <[email protected]>
| Newsgroups | gmane.comp.graphics.gnuplot.devel |
|---|---|
| Message-ID | <[email protected]> |
Ethan A Merritt <[email protected]> writes: > I think the issue is that because your example uses in-line data it > cannot be re-read. The program tries to work around this by reusing > the contents of the various internal data structures but in this case > the workaround fails. Possibly fixable, but I think the primary lesson > is that data blocks are much preferred to in-line data if you are > going to be manipulating/re-drawing the plot. Hi. 100% of my fairly heavy usage of gnuplot uses inline data. The particular case in this report is fairly common too: when doing any sort of computer vision that annotates an image, you want to display the source image with a flipped y axis, since the origin pixel is at the top-left. In any case, this worked in 5.2. I just did a bisection, and I can now see why this seemed familiar. The commit that broke it: https://sourceforge.net/p/gnuplot/gnuplot-main/ci/36a2407e50/ The person who broke it was me! But despite what git says, I have very little recollection of any of this. Ethan: do you have a good sense of what's happening here, and can you easily fix it now? If not, I can poke at it, and figure it out. dima _______________________________________________ gnuplot-beta mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta