From: Hans-Bernhard B. <HBB...@t-...> - 2020-06-30 20:28:56
|
Am 30.06.2020 um 20:49 schrieb Ethan A Merritt: > > I have some reservations about whether it ever makes sense to clip > the contents of a plot `with image`, since in the general case of > rotation+translation, clipping will not leave a rectangle and thus the > optimized image-data protocols that pass the image as a single chunk > of data won't work. OTOH, the alternative would be that the boundaries set up for clipping willl be disrespected completely. That cannot really be considered correct. > The current gnuplot code seems to assume that clipping will cleanly > remove a constant width slice from each edge. Perhaps one fix is to first > detect that clipping exists, and if so fall back to 'with image pixels' so > that each pixel is considered individually. That does make more sense, IMHO. > B) For any given axis (z in this case) the program should never try to > apply both autoscaling and clipping! Not so fast. It's still possible for one end of an axis to be clipped, while the other is autoscaled. |