|
From: Petr M. <mi...@ph...> - 2008-06-06 09:48:46
|
> > "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
> > The z is usefuly "only" to invalidate points for non-positive z (make the
> > pm3d plot transparent).
>
> OK, but do you need log scaling for that?
> Can't you just test for a non-positive value of z?
The "invalidation" works automatically.
> > 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!
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"
Option B. would need a clever patch.
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'?
---
PM
|