|
From: Daniel J S. <dan...@ie...> - 2015-06-10 19:29:43
|
I have a question for anyone who might know how pm3d color can be controlled. I'm trying to do something that is actually rather simple, which is basically a 3D surface plot with a color different from white/background. Think of a typical hidden3d surface plot but with the interior of the mesh elements with a color other than white. I can get something close using pm3d, but not exactly. Also, pm3d has the limitation of not working so well with hidden3d, but that's of secondary importance. In the demo rgb_variable.dem are a couple examples where the pm3d colors can be controlled with color information in a file. It is something like this: with pm3d lc rgb variable and with RGB values in the data file, all having the same value, the pm3d plot does come out to have the correct color. It's a bit odd in the sense that "lc" or "linecolor" controls the face color, rather than some line color. Unfortunately, the lines used in the pm3d plot seems random, perhaps, or not controllable as far as I can tell. I try something like with pm3d lc rgb variable linestyle 2 and that cause pm3d to go back to using palette lookup for the color (which is at the extreme end of the palette because RGB triples work out to very large numbers). Is there some way of controlling face color and line color in pm3d at the moment? Dan |