|
From: Ethan M. <merritt@u.washington.edu> - 2008-06-06 20:43:33
|
On Friday 06 June 2008 02:48:42 am you wrote: > > > "set log z" invalidates only non-positive z-points, which the pm3d mode > > > handles natively; "plot with image" cannot handle this. > > > > I am not following you here. What is it exactly that 'with image' cannot > > handle? > > > set table 'z3.dat' > splot x > unset table > > set view map > set log z > splot 'z3.dat' with image So? You have created a data file with zrange [-10:10]. This is a problem for 'set log z'. But it has absolutely nothing to do with image plots as opposed to any other plot style. I'm still failing to understand what you consider special about image plots. > > > In "splot": > > > A. 'l' does "set log z+cb" for both 3D and "view map" > > > ... this is the current behaviour > > > > This is quite wrong for general 3D plots. It may be that > > (PM3DSURFACE + splot_map) can be treated as a special case. > > What's wrong? It works like that until now perfectly! I think you mean "until now it works perfectly for one kind of plot that I use frequently". Here's a counter-example. - Revert to CVS version of 01 June 2008 (before I made any changes to the logscale hotkeys). - Issue the following plot commands set view map splot 'silver.dat' using 1:2:3 with points pt 7 lt palette z This looks like any normal 2D plot, except that it uses palette coloring. One expects the 'l' hotkey to toggle Y. But it doesn't. It toggles the colorbar instead. I consider that to be wrong. Another counter-example is the revised version of the 3D heat-map in "heatmaps.dem". The cb axis is _different_ from the z axis. The previous 'l' hotkey toggled both, but this makes no sense. > Repeating my summary: > > In "plot": > A. 'l' does "set log y" ... this is the current behaviour > B. 'l' does "set log cb" only if there are only > 'with image' plot(s), otherwise "set log y" > > In "splot": > A. 'l' does "set log z+cb" for both 3D and "view map" > ... this is the current behaviour > B. 'l' does: > "set log cb" in "view map" if there is a palette plot, > otherwise "set log z" > "set log z+cb" in 3D > C. 'l' does "set log cb" in "view map" and "set log z+cb" > in 3D without "with image" and "set log cb" if there is some > "with image" at non-positive z-coordinates > > > Ethan, what do you propose for 'l' and 'L'? I propose that 'l' toggles Y in a 2D plot. It toggles Z in a 3D plot. But if the mouse is inside the color bar it toggles cb instead. 'L' always toggles the axis nearest to the current mouse position. (It currently does not work for the X and Y axes in general 3D view). |