|
From: Dima K. <gn...@di...> - 2017-08-15 22:24:00
|
Ethan A Merritt <sf...@us...> writes: >> > Right now the program ignores the "noautoscale" keyword for image plots. >> > I'm not sure what would happen if that were to change. >> > If you experiment with the code, that's where I suggest starting. >> >> "noautoscale" applies to the whole plot, does it not? > > It applies to only one component of the plot at a time. > The idea is so you can plot x, y, and z but only scale to fit y. > I.e. points from x and z may be outside the range defined by y. > > plot 'x' noautoscale, 'y', 'z' noautoscale Interesting. The documentation describes the per-axis usage, but not the per-data usage that you mention here. This is clearly the appropriate option to hook into. > It makes sense for input RGB PNG images, but I am not certain it > generalizes. > > For that matter I'm not clear on what "autoscale" even means for > rgbimage data. For image data it ends up controlling cbrange for > the palette mapping. But for rgb images there is no palette, so > what exactly is being scaled? > > This is not a part of the code that I know very well. > Right now I don't have any opinion on it because I don't really > understand what it does now or what the other options might be. OK. I'll take a look. For what it's worth, my images actually ARE grayscale, but plotting them "with rgbimage" works while "with image" does not. I'll look. Thanks for the pointers. |